home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1995-11-08 | 200.8 KB | [ONLN/HLX2] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Thu Nov 2 07:00:00 1995, modified Wed Nov 8 07:00:00 1995, creator 'HLX2', type 'ONLN', 200644 bytes "3.4 Sym File Format" , at 0x31044 4697 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
100%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [ONLN] |
macFileCreator | [HLX2] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 13 33 2e 34 20 53 79 | 6d 20 46 69 6c 65 20 46 |..3.4 Sy|m File F|
|00000010| 6f 72 6d 61 74 00 00 00 | 00 00 00 00 00 00 00 00 |ormat...|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 4f 4e 4c 4e 48 4c 58 | 32 01 00 00 00 00 00 00 |.ONLNHLX|2.......|
|00000050| 00 00 00 00 03 0f c4 00 | 00 12 59 ac be 63 40 ac |........|..Y..c@.|
|00000060| c6 4c 40 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.L@.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 80 b4 00 00 |........|........|
|00000080| 53 59 4d 20 46 69 6c 65 | 20 46 6f 72 6d 61 74 0d |SYM File| Format.|
|00000090| 56 65 72 73 69 6f 6e 20 | 33 2e 34 0d a9 31 39 38 |Version |3.4..198|
|000000a0| 38 2c 31 39 38 39 2c 20 | 31 39 39 34 20 41 70 70 |8,1989, |1994 App|
|000000b0| 6c 65 20 43 6f 6d 70 75 | 74 65 72 2c 20 49 6e 63 |le Compu|ter, Inc|
|000000c0| 2e 0d 41 6c 6c 20 52 69 | 67 68 74 73 20 52 65 73 |..All Ri|ghts Res|
|000000d0| 65 72 76 65 64 0d 54 61 | 62 6c 65 20 6f 66 20 43 |erved.Ta|ble of C|
|000000e0| 6f 6e 74 65 6e 74 73 0d | 49 6e 74 72 6f 64 75 63 |ontents.|Introduc|
|000000f0| 74 69 6f 6e 09 31 0d 52 | 65 6c 61 74 65 64 20 44 |tion.1.R|elated D|
|00000100| 6f 63 75 6d 65 6e 74 73 | 20 61 6e 64 20 54 6f 6f |ocuments| and Too|
|00000110| 6c 73 09 31 0d 41 20 6e | 6f 74 65 20 61 62 6f 75 |ls.1.A n|ote abou|
|00000120| 74 20 74 68 65 20 33 2e | 33 20 66 6f 72 6d 61 74 |t the 3.|3 format|
|00000130| 09 31 0d 41 62 62 72 65 | 76 69 61 74 69 6f 6e 73 |.1.Abbre|viations|
|00000140| 09 32 0d 46 75 74 75 72 | 65 20 44 69 72 65 63 74 |.2.Futur|e Direct|
|00000150| 69 6f 6e 73 09 33 0d 43 | 6f 6e 73 74 61 6e 74 73 |ions.3.C|onstants|
|00000160| 20 61 6e 64 20 43 6f 6d | 6d 6f 6e 20 52 65 63 6f | and Com|mon Reco|
|00000170| 72 64 73 09 34 0d 54 79 | 70 65 73 09 34 0d 53 79 |rds.4.Ty|pes.4.Sy|
|00000180| 6d 62 6f 6c 20 53 63 6f | 70 65 09 34 0d 53 74 6f |mbol Sco|pe.4.Sto|
|00000190| 72 61 67 65 20 43 6c 61 | 73 73 65 73 09 34 0d 43 |rage Cla|sses.4.C|
|000001a0| 6f 6e 73 74 61 6e 74 73 | 20 74 68 61 74 20 44 69 |onstants| that Di|
|000001b0| 73 74 69 6e 67 75 69 73 | 68 20 56 61 72 69 61 6e |stinguis|h Varian|
|000001c0| 74 73 09 35 0d 54 68 65 | 20 46 69 6c 65 20 52 65 |ts.5.The| File Re|
|000001d0| 66 65 72 65 6e 63 65 20 | 28 46 52 45 46 29 20 52 |ference |(FREF) R|
|000001e0| 65 63 6f 72 64 09 36 0d | 53 79 6d 20 46 69 6c 65 |ecord.6.|Sym File|
|000001f0| 20 4c 61 79 6f 75 74 09 | 37 0d 54 68 65 20 44 69 | Layout.|7.The Di|
|00000200| 73 6b 20 54 61 62 6c 65 | 20 49 6e 66 6f 20 28 44 |sk Table| Info (D|
|00000210| 54 49 29 20 52 65 63 6f | 72 64 09 38 0d 53 79 6d |TI) Reco|rd.8.Sym|
|00000220| 20 46 69 6c 65 20 48 65 | 61 64 65 72 20 28 44 53 | File He|ader (DS|
|00000230| 48 42 29 09 31 30 0d 54 | 68 65 20 52 65 73 6f 75 |HB).10.T|he Resou|
|00000240| 72 63 65 20 28 52 54 45 | 29 20 54 61 62 6c 65 09 |rce (RTE|) Table.|
|00000250| 31 32 0d 54 68 65 20 4d | 6f 64 75 6c 65 20 28 4d |12.The M|odule (M|
|00000260| 54 45 29 20 54 61 62 6c | 65 09 31 33 0d 54 68 65 |TE) Tabl|e.13.The|
|00000270| 20 43 6f 6e 74 61 69 6e | 65 64 20 4d 6f 64 75 6c | Contain|ed Modul|
|00000280| 65 73 20 28 43 4d 54 45 | 29 20 54 61 62 6c 65 09 |es (CMTE|) Table.|
|00000290| 31 36 0d 54 68 65 20 43 | 6f 6e 74 61 69 6e 65 64 |16.The C|ontained|
|000002a0| 20 56 61 72 69 61 62 6c | 65 73 20 28 43 56 54 45 | Variabl|es (CVTE|
|000002b0| 29 20 54 61 62 6c 65 09 | 31 37 0d 54 68 65 20 43 |) Table.|17.The C|
|000002c0| 6f 6e 74 61 69 6e 65 64 | 20 4c 61 62 65 6c 73 20 |ontained| Labels |
|000002d0| 28 43 4c 54 45 29 20 54 | 61 62 6c 65 09 31 39 0d |(CLTE) T|able.19.|
|000002e0| 54 68 65 20 43 6f 6e 74 | 61 69 6e 65 64 20 53 74 |The Cont|ained St|
|000002f0| 61 74 65 6d 65 6e 74 20 | 54 61 62 6c 65 20 28 43 |atement |Table (C|
|00000300| 53 4e 54 45 29 09 32 31 | 0d 54 68 65 20 4e 61 6d |SNTE).21|.The Nam|
|00000310| 65 20 28 4e 54 45 29 20 | 54 61 62 6c 65 09 32 33 |e (NTE) |Table.23|
|00000320| 0d 54 68 65 20 48 61 73 | 68 20 28 48 54 45 29 20 |.The Has|h (HTE) |
|00000330| 54 61 62 6c 65 09 32 35 | 0d 54 68 65 20 46 69 6c |Table.25|.The Fil|
|00000340| 65 20 52 65 66 65 72 65 | 6e 63 65 20 28 46 52 54 |e Refere|nce (FRT|
|00000350| 45 29 20 54 61 62 6c 65 | 09 32 36 0d 54 68 65 20 |E) Table|.26.The |
|00000360| 46 52 54 45 20 49 6e 64 | 65 78 20 28 46 49 54 45 |FRTE Ind|ex (FITE|
|00000370| 29 20 54 61 62 6c 65 09 | 32 37 0d 54 68 65 20 43 |) Table.|27.The C|
|00000380| 6f 6e 74 61 69 6e 65 64 | 20 54 79 70 65 73 20 28 |ontained| Types (|
|00000390| 43 54 54 45 29 20 54 61 | 62 6c 65 09 32 38 0d 54 |CTTE) Ta|ble.28.T|
|000003a0| 68 65 20 54 79 70 65 20 | 54 61 62 6c 65 20 28 54 |he Type |Table (T|
|000003b0| 54 45 29 09 32 39 0d 54 | 68 65 20 54 79 70 65 20 |TE).29.T|he Type |
|000003c0| 49 6e 66 6f 72 6d 61 74 | 69 6f 6e 20 28 54 49 4e |Informat|ion (TIN|
|000003d0| 46 4f 29 20 54 61 62 6c | 65 09 33 30 0d 54 68 65 |FO) Tabl|e.30.The|
|000003e0| 20 43 6f 6e 73 74 61 6e | 74 20 50 6f 6f 6c 20 28 | Constan|t Pool (|
|000003f0| 43 4f 4e 53 54 29 09 33 | 31 0d 52 65 6c 61 74 69 |CONST).3|1.Relati|
|00000400| 6f 6e 73 68 69 70 73 20 | 42 65 74 77 65 65 6e 20 |onships |Between |
|00000410| 74 68 65 20 54 61 62 6c | 65 73 09 33 32 0d 55 73 |the Tabl|es.32.Us|
|00000420| 69 6e 67 20 74 68 65 20 | 53 79 6d 20 46 69 6c 65 |ing the |Sym File|
|00000430| 09 33 33 0d 53 6f 75 72 | 63 65 54 6f 41 64 64 72 |.33.Sour|ceToAddr|
|00000440| 20 53 74 72 61 74 65 67 | 79 09 33 33 0d 41 64 64 | Strateg|y.33.Add|
|00000450| 72 54 6f 53 6f 75 72 63 | 65 20 53 74 72 61 74 65 |rToSourc|e Strate|
|00000460| 67 79 09 33 34 0d 55 73 | 65 72 73 20 6f 66 20 74 |gy.34.Us|ers of t|
|00000470| 68 65 20 53 79 6d 20 46 | 69 6c 65 09 33 35 0d 0d |he Sym F|ile.35..|
|00000480| 52 65 76 69 73 69 6f 6e | 20 48 69 73 74 6f 72 79 |Revision| History|
|00000490| 0d 53 75 6d 6d 61 72 79 | 20 6f 66 20 43 68 61 6e |.Summary| of Chan|
|000004a0| 67 65 73 20 66 72 6f 6d | 20 4d 50 57 20 33 2e 30 |ges from| MPW 3.0|
|000004b0| 20 74 6f 20 4d 50 57 20 | 33 2e 31 0d 4e 61 6e 6f | to MPW |3.1.Nano|
|000004c0| 2d 73 75 6d 6d 61 72 79 | 3a 0d 54 68 65 20 63 68 |-summary|:.The ch|
|000004d0| 61 6e 67 65 73 20 64 65 | 73 63 72 69 62 65 64 20 |anges de|scribed |
|000004e0| 62 65 6c 6f 77 20 6d 61 | 6b 65 20 27 56 65 72 73 |below ma|ke 'Vers|
|000004f0| 69 6f 6e 20 33 2e 31 27 | 20 53 79 6d 20 66 69 6c |ion 3.1'| Sym fil|
|00000500| 65 73 20 69 6e 63 6f 6d | 70 61 74 69 62 6c 65 20 |es incom|patible |
|00000510| 77 69 74 68 20 27 56 65 | 72 73 69 6f 6e 20 33 2e |with 'Ve|rsion 3.|
|00000520| 30 41 31 2e 32 27 20 53 | 79 6d 20 66 69 6c 65 73 |0A1.2' S|ym files|
|00000530| 2e 20 20 54 68 65 20 33 | 2e 31 20 6c 69 6e 6b 65 |. The 3|.1 linke|
|00000540| 72 20 77 69 6c 6c 20 67 | 65 6e 65 72 61 74 65 20 |r will g|enerate |
|00000550| 6f 6e 6c 79 20 33 2e 31 | 20 53 79 6d 20 66 69 6c |only 3.1| Sym fil|
|00000560| 65 73 2e 20 20 54 68 65 | 20 33 2e 31 20 53 41 44 |es. The| 3.1 SAD|
|00000570| 45 20 28 61 63 74 75 61 | 6c 6c 79 20 49 20 74 68 |E (actua|lly I th|
|00000580| 69 6e 6b 20 74 68 65 79 | 20 63 61 6c 6c 20 69 74 |ink they| call it|
|00000590| 20 74 68 65 20 22 31 2e | 31 22 20 53 41 44 45 2c | the "1.|1" SADE,|
|000005a0| 20 6a 75 73 74 20 74 6f | 20 62 65 20 63 6f 6e 66 | just to| be conf|
|000005b0| 75 73 69 6e 67 29 20 77 | 69 6c 6c 20 72 65 61 64 |using) w|ill read|
|000005c0| 20 6f 6e 6c 79 20 33 2e | 31 20 53 79 6d 20 66 69 | only 3.|1 Sym fi|
|000005d0| 6c 65 73 2e 0d 44 49 53 | 4b 5f 53 59 4d 42 4f 4c |les..DIS|K_SYMBOL|
|000005e0| 5f 48 45 41 44 45 52 5f | 42 4c 4f 43 4b 20 28 44 |_HEADER_|BLOCK (D|
|000005f0| 53 48 42 29 0d 6f 09 54 | 68 65 20 76 65 72 73 69 |SHB).o.T|he versi|
|00000600| 6f 6e 20 73 74 72 69 6e | 67 20 69 6e 20 74 68 65 |on strin|g in the|
|00000610| 20 44 53 48 42 20 68 61 | 73 20 63 68 61 6e 67 65 | DSHB ha|s change|
|00000620| 64 20 74 6f 20 22 56 65 | 72 73 69 6f 6e 20 33 2e |d to "Ve|rsion 3.|
|00000630| 31 22 20 66 72 6f 6d 20 | 22 56 45 52 53 49 4f 4e |1" from |"VERSION|
|00000640| 20 33 2e 30 41 31 2e 32 | 22 2e 20 20 4e 6f 74 65 | 3.0A1.2|". Note|
|00000650| 20 74 68 65 20 63 68 61 | 6e 67 65 20 66 72 6f 6d | the cha|nge from|
|00000660| 20 75 70 70 65 72 20 74 | 6f 20 6c 6f 77 65 72 20 | upper t|o lower |
|00000670| 63 61 73 65 2e 0d 6f 09 | 54 68 65 20 44 54 49 5f |case..o.|The DTI_|
|00000680| 4f 42 4a 45 43 54 5f 43 | 4f 55 4e 54 20 66 69 65 |OBJECT_C|OUNT fie|
|00000690| 6c 64 20 69 6e 20 74 68 | 65 20 44 49 53 4b 5f 54 |ld in th|e DISK_T|
|000006a0| 41 42 4c 45 5f 49 4e 46 | 4f 20 73 74 72 75 63 74 |ABLE_INF|O struct|
|000006b0| 75 72 65 20 69 73 20 6e | 6f 77 20 61 20 4c 4f 4e |ure is n|ow a LON|
|000006c0| 47 49 4e 54 20 28 73 6f | 6d 65 20 6f 66 20 74 68 |GINT (so|me of th|
|000006d0| 65 20 31 36 2d 62 69 74 | 20 63 6f 75 6e 74 73 20 |e 16-bit| counts |
|000006e0| 77 65 72 65 20 6f 76 65 | 72 66 6c 6f 77 69 6e 67 |were ove|rflowing|
|000006f0| 29 2e 0d 53 54 4f 52 41 | 47 45 5f 43 4c 41 53 53 |)..STORA|GE_CLASS|
|00000700| 5f 41 44 44 52 45 53 53 | 20 28 53 43 41 29 0d 6f |_ADDRESS| (SCA).o|
|00000710| 09 41 20 6e 65 77 20 73 | 74 6f 72 61 67 65 20 6b |.A new s|torage k|
|00000720| 69 6e 64 2c 20 27 53 54 | 4f 52 41 47 45 5f 4b 49 |ind, 'ST|ORAGE_KI|
|00000730| 4e 44 5f 57 49 54 48 27 | 2c 20 68 61 73 20 62 65 |ND_WITH'|, has be|
|00000740| 65 6e 20 61 64 64 65 64 | 20 74 6f 20 73 75 70 70 |en added| to supp|
|00000750| 6f 72 74 20 57 49 54 48 | 20 61 6e 64 20 69 6d 70 |ort WITH| and imp|
|00000760| 6c 69 65 64 2d 57 49 54 | 48 20 73 63 6f 70 65 73 |lied-WIT|H scopes|
|00000770| 20 69 6e 20 50 61 73 63 | 61 6c 20 61 6e 64 20 6f | in Pasc|al and o|
|00000780| 62 6a 65 63 74 2d 6f 72 | 69 65 6e 74 65 64 20 6c |bject-or|iented l|
|00000790| 61 6e 67 75 61 67 65 73 | 2e 0d 52 45 53 4f 55 52 |anguages|..RESOUR|
|000007a0| 43 45 5f 54 41 42 4c 45 | 5f 45 4e 54 52 59 20 28 |CE_TABLE|_ENTRY (|
|000007b0| 52 54 45 29 0d 6f 09 41 | 64 64 65 64 20 72 74 65 |RTE).o.A|dded rte|
|000007c0| 5f 72 65 73 5f 73 69 7a | 65 20 66 69 65 6c 64 2c |_res_siz|e field,|
|000007d0| 20 74 68 65 20 73 69 7a | 65 20 6f 66 20 74 68 65 | the siz|e of the|
|000007e0| 20 72 65 73 6f 75 72 63 | 65 2e 0d 43 4f 4e 54 41 | resourc|e..CONTA|
|000007f0| 49 4e 45 44 5f 56 41 52 | 49 41 42 4c 45 53 5f 54 |INED_VAR|IABLES_T|
|00000800| 41 42 4c 45 5f 45 4e 54 | 52 59 20 28 43 56 54 45 |ABLE_ENT|RY (CVTE|
|00000810| 29 0d 6f 09 53 69 67 6e | 69 66 69 63 61 6e 74 20 |).o.Sign|ificant |
|00000820| 63 68 61 6e 67 65 73 20 | 66 6f 72 20 61 6c 6c 6f |changes |for allo|
|00000830| 77 69 6e 67 20 22 6c 6f | 67 69 63 61 6c 20 61 64 |wing "lo|gical ad|
|00000840| 64 72 65 73 73 65 73 22 | 2e 20 20 50 6c 65 61 73 |dresses"|. Pleas|
|00000850| 65 20 72 65 66 65 72 20 | 74 6f 20 74 68 65 20 73 |e refer |to the s|
|00000860| 65 63 74 69 6f 6e 20 6f | 6e 20 43 56 54 45 73 20 |ection o|n CVTEs |
|00000870| 66 6f 72 20 6d 6f 72 65 | 20 69 6e 66 6f 72 6d 61 |for more| informa|
|00000880| 74 69 6f 6e 2e 20 20 4c | 6f 67 69 63 61 6c 20 61 |tion. L|ogical a|
|00000890| 64 64 72 65 73 73 65 73 | 20 61 72 65 20 64 65 73 |ddresses| are des|
|000008a0| 63 72 69 62 65 64 20 69 | 6e 20 74 68 65 20 4f 4d |cribed i|n the OM|
|000008b0| 46 20 64 6f 63 75 6d 65 | 6e 74 61 74 69 6f 6e 20 |F docume|ntation |
|000008c0| 66 6f 72 20 74 68 65 20 | 4c 6f 63 61 6c 49 44 32 |for the |LocalID2|
|000008d0| 20 72 65 63 6f 72 64 2e | 0d 43 4f 4e 54 41 49 4e | record.|.CONTAIN|
|000008e0| 45 44 5f 53 54 41 54 45 | 4d 45 4e 54 53 5f 54 41 |ED_STATE|MENTS_TA|
|000008f0| 42 4c 45 5f 45 4e 54 52 | 59 20 28 43 53 4e 54 45 |BLE_ENTR|Y (CSNTE|
|00000900| 29 0d 6f 09 52 65 6d 6f | 76 65 64 20 74 68 65 20 |).o.Remo|ved the |
|00000910| 63 73 6e 74 65 5f 73 74 | 61 74 65 6d 65 6e 74 5f |csnte_st|atement_|
|00000920| 6e 75 6d 62 65 72 20 66 | 69 65 6c 64 2e 20 20 54 |number f|ield. T|
|00000930| 68 65 20 63 73 6e 74 65 | 5f 6d 74 65 5f 69 6e 64 |he csnte|_mte_ind|
|00000940| 65 78 20 66 69 65 6c 64 | 20 69 73 20 6e 6f 77 20 |ex field| is now |
|00000950| 74 68 65 20 66 69 72 73 | 74 20 72 65 63 6f 72 64 |the firs|t record|
|00000960| 20 69 6e 20 74 68 65 20 | 72 65 63 6f 72 64 27 73 | in the |record's|
|00000970| 20 73 74 61 74 65 6d 65 | 6e 74 20 65 6e 74 72 79 | stateme|nt entry|
|00000980| 20 76 61 72 69 61 6e 74 | 2e 0d 54 79 70 65 20 49 | variant|..Type I|
|00000990| 6e 66 6f 72 6d 61 74 69 | 6f 6e 0d 6f 09 54 68 65 |nformati|on.o.The|
|000009a0| 20 61 72 67 75 6d 65 6e | 74 20 74 6f 20 74 68 65 | argumen|t to the|
|000009b0| 20 54 54 45 20 74 79 70 | 65 63 6f 64 65 20 68 61 | TTE typ|ecode ha|
|000009c0| 73 20 62 65 65 6e 20 63 | 68 61 6e 67 65 64 20 66 |s been c|hanged f|
|000009d0| 72 6f 6d 20 61 20 68 61 | 72 64 2d 63 6f 64 65 64 |rom a ha|rd-coded|
|000009e0| 20 31 36 2d 62 69 74 20 | 77 6f 72 64 20 74 6f 20 | 16-bit |word to |
|000009f0| 61 20 6e 6f 72 6d 61 6c | 20 74 79 70 65 20 69 6e |a normal| type in|
|00000a00| 66 6f 72 6d 61 74 69 6f | 6e 20 73 63 61 6c 61 72 |formatio|n scalar|
|00000a10| 2e 0d 53 75 6d 6d 61 72 | 79 20 6f 66 20 43 68 61 |..Summar|y of Cha|
|00000a20| 6e 67 65 73 20 66 72 6f | 6d 20 4d 50 57 20 33 2e |nges fro|m MPW 3.|
|00000a30| 31 20 74 6f 20 4d 50 57 | 20 33 2e 32 0d 6f 09 56 |1 to MPW| 3.2.o.V|
|00000a40| 65 72 73 69 6f 6e 20 73 | 74 72 69 6e 67 20 63 68 |ersion s|tring ch|
|00000a50| 61 6e 67 65 64 20 74 6f | 20 22 5c 70 56 65 72 73 |anged to| "\pVers|
|00000a60| 69 6f 6e 20 33 2e 32 22 | 2e 0d 6f 09 4d 4f 44 55 |ion 3.2"|..o.MODU|
|00000a70| 4c 45 53 5f 54 41 42 4c | 45 5f 45 4e 54 52 59 0d |LES_TABL|E_ENTRY.|
|00000a80| 09 6f 09 54 68 65 20 66 | 69 65 6c 64 73 20 6d 74 |.o.The f|ields mt|
|00000a90| 65 5f 64 65 66 5f 66 72 | 65 66 20 61 6e 64 20 6d |e_def_fr|ef and m|
|00000aa0| 74 65 5f 64 65 66 5f 65 | 6e 64 20 68 61 76 65 20 |te_def_e|nd have |
|00000ab0| 62 65 65 6e 20 65 6c 69 | 6d 69 6e 61 74 65 64 2e |been eli|minated.|
|00000ac0| 0d 09 6f 09 66 69 65 6c | 64 73 20 6d 74 65 5f 63 |..o.fiel|ds mte_c|
|00000ad0| 73 6e 74 65 5f 69 64 78 | 5f 31 20 61 6e 64 20 6d |snte_idx|_1 and m|
|00000ae0| 74 65 5f 63 73 6e 74 65 | 5f 69 64 78 5f 32 20 77 |te_csnte|_idx_2 w|
|00000af0| 65 72 65 20 63 68 61 6e | 67 65 64 20 74 6f 20 75 |ere chan|ged to u|
|00000b00| 6e 73 69 67 6e 65 64 20 | 6c 6f 6e 67 73 2e 0d 6f |nsigned |longs..o|
|00000b10| 09 43 4f 4e 54 41 49 4e | 45 44 5f 53 54 41 54 45 |.CONTAIN|ED_STATE|
|00000b20| 4d 45 4e 54 53 5f 54 41 | 42 4c 45 5f 45 4e 54 52 |MENTS_TA|BLE_ENTR|
|00000b30| 59 0d 09 6f 09 54 68 65 | 20 66 69 65 6c 64 73 20 |Y..o.The| fields |
|00000b40| 63 73 6e 74 65 5f 2e 6d | 74 65 5f 6f 66 66 73 65 |csnte_.m|te_offse|
|00000b50| 74 20 77 61 73 20 63 68 | 61 6e 67 65 64 20 74 6f |t was ch|anged to|
|00000b60| 20 75 6e 73 69 67 6e 65 | 64 20 6c 6f 6e 67 2e 0d | unsigne|d long..|
|00000b70| 53 75 6d 6d 61 72 79 20 | 6f 66 20 43 68 61 6e 67 |Summary |of Chang|
|00000b80| 65 73 20 66 72 6f 6d 20 | 4d 50 57 20 33 2e 32 20 |es from |MPW 3.2 |
|00000b90| 74 6f 20 4d 50 57 20 33 | 2e 33 0d 28 66 61 6c 6c |to MPW 3|.3.(fall|
|00000ba0| 2c 20 31 39 39 32 29 0d | a5 09 56 65 72 73 69 6f |, 1992).|..Versio|
|00000bb0| 6e 20 73 74 72 69 6e 67 | 20 63 68 61 6e 67 65 64 |n string| changed|
|00000bc0| 20 74 6f 20 22 5c 70 56 | 65 72 73 69 6f 6e 20 33 | to "\pV|ersion 3|
|00000bd0| 2e 33 22 2e 0d a5 09 4d | 4f 44 55 4c 45 53 5f 54 |.3"....M|ODULES_T|
|00000be0| 41 42 4c 45 5f 45 4e 54 | 52 59 0d a5 09 66 69 65 |ABLE_ENT|RY...fie|
|00000bf0| 6c 64 20 6d 74 65 5f 63 | 76 74 65 5f 69 6e 64 65 |ld mte_c|vte_inde|
|00000c00| 78 20 63 68 61 6e 67 65 | 64 20 66 72 6f 6d 20 61 |x change|d from a|
|00000c10| 6e 20 75 6e 73 69 67 6e | 65 64 20 73 68 6f 72 74 |n unsign|ed short|
|00000c20| 20 74 6f 20 61 6e 20 75 | 6e 73 69 67 6e 65 64 20 | to an u|nsigned |
|00000c30| 6c 6f 6e 67 0d 53 75 6d | 6d 61 72 79 20 6f 66 20 |long.Sum|mary of |
|00000c40| 43 68 61 6e 67 65 73 20 | 66 72 6f 6d 20 4d 50 57 |Changes |from MPW|
|00000c50| 20 33 2e 33 20 74 6f 20 | 4d 50 57 20 33 2e 34 0d | 3.3 to |MPW 3.4.|
|00000c60| 28 4d 61 79 2c 20 31 39 | 39 34 29 0d a5 09 56 65 |(May, 19|94)...Ve|
|00000c70| 72 73 69 6f 6e 20 73 74 | 72 69 6e 67 20 63 68 61 |rsion st|ring cha|
|00000c80| 6e 67 65 64 20 74 6f 20 | 22 5c 70 56 65 72 73 69 |nged to |"\pVersi|
|00000c90| 6f 6e 20 33 2e 34 22 2e | 0d a5 09 43 6f 6e 73 74 |on 3.4".|...Const|
|00000ca0| 61 6e 74 73 20 45 4e 44 | 5f 4f 46 5f 4c 49 53 54 |ants END|_OF_LIST|
|00000cb0| 2c 20 46 49 4c 45 5f 4e | 41 4d 45 5f 49 4e 44 45 |, FILE_N|AME_INDE|
|00000cc0| 58 2c 20 53 4f 55 52 43 | 45 5f 46 49 4c 45 5f 43 |X, SOURC|E_FILE_C|
|00000cd0| 48 41 4e 47 45 2c 20 61 | 6e 64 20 4d 41 58 49 4d |HANGE, a|nd MAXIM|
|00000ce0| 55 4d 5f 4c 45 47 41 4c | 5f 49 4e 44 45 58 20 63 |UM_LEGAL|_INDEX c|
|00000cf0| 68 61 6e 67 65 64 20 74 | 6f 20 55 4e 53 49 47 4e |hanged t|o UNSIGN|
|00000d00| 45 44 20 4c 4f 4e 47 0d | a5 09 46 49 4c 45 5f 52 |ED LONG.|..FILE_R|
|00000d10| 45 46 45 52 45 4e 43 45 | 0d a5 09 46 69 65 6c 64 |EFERENCE|...Field|
|00000d20| 20 66 72 65 66 5f 66 72 | 74 65 5f 69 6e 64 65 78 | fref_fr|te_index|
|00000d30| 20 65 78 74 65 6e 64 65 | 64 20 74 6f 20 55 4e 53 | extende|d to UNS|
|00000d40| 49 47 4e 45 44 20 4c 4f | 4e 47 0d a5 09 44 49 53 |IGNED LO|NG...DIS|
|00000d50| 4b 5f 54 41 42 4c 45 5f | 49 4e 46 4f 0d a5 09 46 |K_TABLE_|INFO...F|
|00000d60| 69 65 6c 64 73 20 64 74 | 65 5f 66 69 72 73 74 5f |ields dt|e_first_|
|00000d70| 70 61 67 65 20 61 6e 64 | 20 64 74 65 5f 70 61 67 |page and| dte_pag|
|00000d80| 65 5f 63 6f 75 6e 74 20 | 65 78 74 65 6e 64 65 64 |e_count |extended|
|00000d90| 20 74 6f 20 55 4e 53 49 | 47 4e 45 44 20 4c 4f 4e | to UNSI|GNED LON|
|00000da0| 47 0d a5 09 44 49 53 4b | 5f 53 59 4d 42 4f 4c 5f |G...DISK|_SYMBOL_|
|00000db0| 48 45 41 44 45 52 5f 42 | 4c 4f 43 4b 0d a5 09 46 |HEADER_B|LOCK...F|
|00000dc0| 69 65 6c 64 73 20 64 73 | 68 62 5f 68 61 73 68 5f |ields ds|hb_hash_|
|00000dd0| 70 61 67 65 20 61 6e 64 | 20 64 73 68 62 5f 72 6f |page and| dshb_ro|
|00000de0| 6f 74 5f 6d 74 65 20 65 | 78 74 65 6e 64 65 64 20 |ot_mte e|xtended |
|00000df0| 74 6f 20 55 4e 53 49 47 | 4e 45 44 20 4c 4f 4e 47 |to UNSIG|NED LONG|
|00000e00| 0d a5 09 52 45 53 4f 55 | 52 43 45 5f 54 41 42 4c |...RESOU|RCE_TABL|
|00000e10| 45 5f 45 4e 54 52 59 0d | a5 09 46 69 65 6c 64 73 |E_ENTRY.|..Fields|
|00000e20| 20 72 74 65 5f 6d 74 65 | 5f 66 69 72 73 74 20 61 | rte_mte|_first a|
|00000e30| 6e 64 20 72 74 65 5f 6d | 74 65 5f 6c 61 73 74 20 |nd rte_m|te_last |
|00000e40| 65 78 74 65 6e 64 65 64 | 20 74 6f 20 55 4e 53 49 |extended| to UNSI|
|00000e50| 47 4e 45 44 20 4c 4f 4e | 47 0d a5 09 4d 4f 44 55 |GNED LON|G...MODU|
|00000e60| 4c 45 53 5f 54 41 42 4c | 45 5f 45 4e 54 52 59 0d |LES_TABL|E_ENTRY.|
|00000e70| a5 09 46 69 65 6c 64 73 | 20 6d 74 65 5f 70 61 72 |..Fields| mte_par|
|00000e80| 65 6e 74 2c 20 6d 74 65 | 5f 63 6d 74 65 5f 69 6e |ent, mte|_cmte_in|
|00000e90| 64 65 78 2c 20 6d 74 65 | 5f 63 6c 74 65 5f 69 6e |dex, mte|_clte_in|
|00000ea0| 64 65 78 20 61 6e 64 20 | 6d 74 65 5f 63 74 74 65 |dex and |mte_ctte|
|00000eb0| 5f 69 6e 64 65 78 20 65 | 78 74 65 6e 64 65 64 20 |_index e|xtended |
|00000ec0| 74 6f 20 55 4e 53 49 47 | 4e 45 44 20 4c 4f 4e 47 |to UNSIG|NED LONG|
|00000ed0| 0d a5 09 46 69 65 6c 64 | 20 6d 74 65 5f 63 76 74 |...Field| mte_cvt|
|00000ee0| 65 5f 69 6e 64 65 78 20 | 65 78 74 65 6e 64 65 64 |e_index |extended|
|00000ef0| 20 74 6f 20 55 4e 53 49 | 47 4e 45 44 20 4c 4f 4e | to UNSI|GNED LON|
|00000f00| 47 20 28 65 66 66 65 63 | 74 69 76 65 20 77 69 74 |G (effec|tive wit|
|00000f10| 68 20 56 65 72 73 69 6f | 6e 20 33 2e 33 20 53 59 |h Versio|n 3.3 SY|
|00000f20| 4d 20 66 6f 72 6d 61 74 | 29 0d a5 09 43 4f 4e 54 |M format|)...CONT|
|00000f30| 41 49 4e 45 44 5f 4d 4f | 44 55 4c 45 53 5f 54 41 |AINED_MO|DULES_TA|
|00000f40| 42 4c 45 5f 45 4e 54 52 | 59 0d a5 09 46 69 65 6c |BLE_ENTR|Y...Fiel|
|00000f50| 64 73 20 6d 74 65 5f 69 | 6e 64 65 78 20 61 6e 64 |ds mte_i|ndex and|
|00000f60| 20 63 6d 74 65 5f 65 6e | 64 5f 6f 66 5f 6c 69 73 | cmte_en|d_of_lis|
|00000f70| 74 20 65 78 74 65 6e 64 | 65 64 20 74 6f 20 55 4e |t extend|ed to UN|
|00000f80| 53 49 47 4e 45 44 20 4c | 4f 4e 47 0d a5 09 43 4f |SIGNED L|ONG...CO|
|00000f90| 4e 54 41 49 4e 45 44 5f | 56 41 52 49 41 42 4c 45 |NTAINED_|VARIABLE|
|00000fa0| 53 5f 54 41 42 4c 45 5f | 45 4e 54 52 59 0d a5 09 |S_TABLE_|ENTRY...|
|00000fb0| 46 69 65 6c 64 73 20 63 | 68 61 6e 67 65 2c 20 74 |Fields c|hange, t|
|00000fc0| 74 65 5f 69 6e 64 65 78 | 2c 20 61 6e 64 20 63 76 |te_index|, and cv|
|00000fd0| 74 65 5f 65 6e 64 5f 6f | 66 5f 6c 69 73 74 20 65 |te_end_o|f_list e|
|00000fe0| 78 74 65 6e 64 65 64 20 | 74 6f 20 55 4e 53 49 47 |xtended |to UNSIG|
|00000ff0| 4e 45 44 20 4c 4f 4e 47 | 0d a5 09 43 4f 4e 54 41 |NED LONG|...CONTA|
|00001000| 49 4e 45 44 5f 4c 41 42 | 45 4c 53 5f 54 41 42 4c |INED_LAB|ELS_TABL|
|00001010| 45 5f 45 4e 54 52 59 0d | a5 09 46 69 65 6c 64 73 |E_ENTRY.|..Fields|
|00001020| 20 63 68 61 6e 67 65 2c | 20 6d 74 65 5f 69 6e 64 | change,| mte_ind|
|00001030| 65 78 2c 20 61 6e 64 20 | 63 6c 74 65 5f 65 6e 64 |ex, and |clte_end|
|00001040| 5f 6f 66 5f 6c 69 73 74 | 20 65 78 74 65 6e 64 65 |_of_list| extende|
|00001050| 64 20 74 6f 20 55 4e 53 | 49 47 4e 45 44 20 4c 4f |d to UNS|IGNED LO|
|00001060| 4e 47 0d a5 09 43 4f 4e | 54 41 49 4e 45 44 5f 53 |NG...CON|TAINED_S|
|00001070| 54 41 54 45 4d 45 4e 54 | 53 5f 54 41 42 4c 45 5f |TATEMENT|S_TABLE_|
|00001080| 45 4e 54 52 59 0d a5 09 | 46 69 65 6c 64 73 20 63 |ENTRY...|Fields c|
|00001090| 68 61 6e 67 65 2c 20 6d | 74 65 5f 69 6e 64 65 78 |hange, m|te_index|
|000010a0| 2c 20 61 6e 64 20 63 73 | 6e 74 65 5f 65 6e 64 5f |, and cs|nte_end_|
|000010b0| 6f 66 5f 6c 69 73 74 20 | 65 78 74 65 6e 64 65 64 |of_list |extended|
|000010c0| 20 74 6f 20 55 4e 53 49 | 47 4e 45 44 20 4c 4f 4e | to UNSI|GNED LON|
|000010d0| 47 0d a5 09 46 49 4c 45 | 5f 52 45 46 45 52 45 4e |G...FILE|_REFEREN|
|000010e0| 43 45 5f 54 41 42 4c 45 | 5f 45 4e 54 52 59 0d a5 |CE_TABLE|_ENTRY..|
|000010f0| 09 46 69 65 6c 64 73 20 | 6e 61 6d 65 5f 65 6e 74 |.Fields |name_ent|
|00001100| 72 79 2c 20 6d 74 65 5f | 69 6e 64 65 78 2c 20 61 |ry, mte_|index, a|
|00001110| 6e 64 20 66 72 74 65 5f | 65 6e 64 5f 6f 66 5f 6c |nd frte_|end_of_l|
|00001120| 69 73 74 20 65 78 74 65 | 6e 64 65 64 20 74 6f 20 |ist exte|nded to |
|00001130| 55 4e 53 49 47 4e 45 44 | 20 4c 4f 4e 47 0d a5 09 |UNSIGNED| LONG...|
|00001140| 46 52 54 45 5f 49 4e 44 | 45 58 5f 54 41 42 4c 45 |FRTE_IND|EX_TABLE|
|00001150| 5f 45 4e 54 52 59 0d a5 | 09 46 69 65 6c 64 73 20 |_ENTRY..|.Fields |
|00001160| 66 72 74 65 5f 69 6e 64 | 65 78 20 61 6e 64 20 66 |frte_ind|ex and f|
|00001170| 69 74 65 5f 65 6e 64 5f | 6f 66 5f 6c 69 73 74 20 |ite_end_|of_list |
|00001180| 65 78 74 65 6e 64 65 64 | 20 74 6f 20 55 4e 53 49 |extended| to UNSI|
|00001190| 47 4e 45 44 20 4c 4f 4e | 47 0d a5 09 43 4f 4e 54 |GNED LON|G...CONT|
|000011a0| 41 49 4e 45 44 5f 54 59 | 50 45 53 5f 54 41 42 4c |AINED_TY|PES_TABL|
|000011b0| 45 5f 45 4e 54 52 59 0d | a5 09 46 69 65 6c 64 73 |E_ENTRY.|..Fields|
|000011c0| 20 63 68 61 6e 67 65 2c | 20 74 74 65 5f 69 6e 64 | change,| tte_ind|
|000011d0| 65 78 2c 20 61 6e 64 20 | 63 74 74 65 5f 65 6e 64 |ex, and |ctte_end|
|000011e0| 5f 6f 66 5f 6c 69 73 74 | 20 65 78 74 65 6e 64 65 |_of_list| extende|
|000011f0| 64 20 74 6f 20 55 4e 53 | 49 47 4e 45 44 20 4c 4f |d to UNS|IGNED LO|
|00001200| 4e 47 0d a5 09 4e 41 4d | 45 5f 54 41 42 4c 45 5f |NG...NAM|E_TABLE_|
|00001210| 45 4e 54 52 59 0d a5 09 | 41 64 64 69 74 69 6f 6e |ENTRY...|Addition|
|00001220| 61 6c 20 73 70 65 63 69 | 61 6c 20 65 6e 74 72 79 |al speci|al entry|
|00001230| 20 61 64 64 65 64 20 74 | 6f 20 68 61 6e 64 6c 65 | added t|o handle|
|00001240| 20 73 74 72 69 6e 67 73 | 20 77 69 74 68 20 6c 65 | strings| with le|
|00001250| 6e 67 74 68 20 3e 20 32 | 35 35 20 63 68 61 72 61 |ngth > 2|55 chara|
|00001260| 63 74 65 72 73 2e 0d 0d | 49 6e 74 72 6f 64 75 63 |cters...|Introduc|
|00001270| 74 69 6f 6e 0d 54 68 65 | 20 4d 50 57 20 6c 69 6e |tion.The| MPW lin|
|00001280| 6b 65 72 20 70 72 6f 64 | 75 63 65 73 20 61 20 73 |ker prod|uces a s|
|00001290| 79 6d 62 6f 6c 69 63 20 | 66 69 6c 65 20 77 68 69 |ymbolic |file whi|
|000012a0| 63 68 20 70 72 6f 76 69 | 64 65 73 20 53 59 4d 20 |ch provi|des SYM |
|000012b0| 66 69 6c 65 20 63 6f 6e | 73 75 6d 65 72 73 20 77 |file con|sumers w|
|000012c0| 69 74 68 20 64 65 62 75 | 67 67 69 6e 67 20 69 6e |ith debu|gging in|
|000012d0| 66 6f 72 6d 61 74 69 6f | 6e 20 61 62 6f 75 74 20 |formatio|n about |
|000012e0| 61 20 74 6f 6f 6c 20 6f | 72 20 61 70 70 6c 69 63 |a tool o|r applic|
|000012f0| 61 74 69 6f 6e 2e 20 20 | 54 68 65 20 6c 69 6e 6b |ation. |The link|
|00001300| 65 72 20 72 65 61 64 73 | 20 73 79 6d 62 6f 6c 69 |er reads| symboli|
|00001310| 63 20 4f 4d 46 20 72 65 | 63 6f 72 64 73 20 66 72 |c OMF re|cords fr|
|00001320| 6f 6d 20 74 68 65 20 6f | 62 6a 65 63 74 20 66 69 |om the o|bject fi|
|00001330| 6c 65 73 20 75 73 65 64 | 20 74 6f 20 62 75 69 6c |les used| to buil|
|00001340| 64 20 74 68 65 20 65 78 | 65 63 75 74 61 62 6c 65 |d the ex|ecutable|
|00001350| 20 66 69 6c 65 20 61 6e | 64 20 75 73 65 73 20 74 | file an|d uses t|
|00001360| 68 61 74 20 73 79 6d 62 | 6f 6c 69 63 20 69 6e 66 |hat symb|olic inf|
|00001370| 6f 72 6d 61 74 69 6f 6e | 2c 20 61 6c 6f 6e 67 20 |ormation|, along |
|00001380| 77 69 74 68 20 74 68 65 | 20 6d 6f 72 61 6c 20 65 |with the| moral e|
|00001390| 71 75 69 76 61 6c 65 6e | 74 20 6f 66 20 61 20 6c |quivalen|t of a l|
|000013a0| 69 6e 6b 20 6d 61 70 2c | 20 74 6f 20 62 75 69 6c |ink map,| to buil|
|000013b0| 64 20 74 68 65 20 53 79 | 6d 20 66 69 6c 65 2e 20 |d the Sy|m file. |
|000013c0| 20 53 59 4d 20 66 69 6c | 65 20 63 6f 6e 73 75 6d | SYM fil|e consum|
|000013d0| 65 72 73 20 75 73 65 20 | 74 68 65 20 53 79 6d 20 |ers use |the Sym |
|000013e0| 66 69 6c 65 20 74 6f 20 | 64 69 73 70 6c 61 79 20 |file to |display |
|000013f0| 73 6f 75 72 63 65 20 69 | 6e 66 6f 72 6d 61 74 69 |source i|nformati|
|00001400| 6f 6e 20 61 6e 64 20 61 | 63 63 65 73 73 20 76 61 |on and a|ccess va|
|00001410| 72 69 61 62 6c 65 73 2c | 20 74 79 70 65 73 20 61 |riables,| types a|
|00001420| 6e 64 20 6c 61 62 65 6c | 73 2e 0d 52 65 6c 61 74 |nd label|s..Relat|
|00001430| 65 64 20 44 6f 63 75 6d | 65 6e 74 73 20 61 6e 64 |ed Docum|ents and|
|00001440| 20 54 6f 6f 6c 73 0d 44 | 65 62 75 67 44 61 74 61 | Tools.D|ebugData|
|00001450| 54 79 70 65 73 2e 70 20 | 28 68 65 61 64 65 72 20 |Types.p |(header |
|00001460| 66 69 6c 65 20 66 6f 72 | 20 50 61 73 63 61 6c 29 |file for| Pascal)|
|00001470| 0d 44 65 62 75 67 44 61 | 74 61 54 79 70 65 73 2e |.DebugDa|taTypes.|
|00001480| 68 20 28 68 65 61 64 65 | 72 20 66 69 6c 65 20 66 |h (heade|r file f|
|00001490| 6f 72 20 43 29 0d 54 68 | 65 73 65 20 61 72 65 20 |or C).Th|ese are |
|000014a0| 74 68 65 20 61 63 74 75 | 61 6c 20 69 6e 74 65 72 |the actu|al inter|
|000014b0| 66 61 63 65 73 20 75 73 | 65 64 20 62 79 20 53 59 |faces us|ed by SY|
|000014c0| 4d 20 66 69 6c 65 20 63 | 6f 6e 73 75 6d 65 72 73 |M file c|onsumers|
|000014d0| 20 61 6e 64 20 70 72 6f | 64 75 63 65 72 73 3b 20 | and pro|ducers; |
|000014e0| 74 68 65 79 20 63 6f 6e | 74 61 69 6e 20 73 6f 6d |they con|tain som|
|000014f0| 65 20 61 6e 61 63 68 72 | 6f 6e 69 73 6d 73 2c 20 |e anachr|onisms, |
|00001500| 62 75 74 20 73 74 69 6c | 6c 20 72 65 70 72 65 73 |but stil|l repres|
|00001510| 65 6e 74 20 74 68 65 20 | 75 6c 74 69 6d 61 74 65 |ent the |ultimate|
|00001520| 20 61 72 62 69 74 65 72 | 20 66 6f 72 20 74 68 65 | arbiter| for the|
|00001530| 20 63 6f 6e 73 74 61 6e | 74 20 61 6e 64 20 72 65 | constan|t and re|
|00001540| 63 6f 72 64 20 64 65 66 | 69 6e 69 74 69 6f 6e 73 |cord def|initions|
|00001550| 2e 0d 4d 50 57 20 33 2e | 30 20 4f 62 6a 65 63 74 |..MPW 3.|0 Object|
|00001560| 20 4d 6f 64 75 6c 65 20 | 46 6f 72 6d 61 74 20 28 | Module |Format (|
|00001570| 4f 4d 46 20 44 6f 63 75 | 6d 65 6e 74 29 0d 54 68 |OMF Docu|ment).Th|
|00001580| 69 73 20 64 6f 63 75 6d | 65 6e 74 20 64 65 73 63 |is docum|ent desc|
|00001590| 72 69 62 65 73 20 74 68 | 65 20 4f 4d 46 20 72 65 |ribes th|e OMF re|
|000015a0| 63 6f 72 64 73 20 75 73 | 65 64 20 74 6f 20 62 75 |cords us|ed to bu|
|000015b0| 69 6c 64 20 74 68 65 20 | 53 79 6d 20 66 69 6c 65 |ild the |Sym file|
|000015c0| 2e 20 20 41 6c 73 6f 20 | 69 6e 63 6c 75 64 65 73 |. Also |includes|
|000015d0| 20 69 6e 66 6f 72 6d 61 | 74 69 6f 6e 20 6f 6e 20 | informa|tion on |
|000015e0| 74 79 70 65 63 6f 64 65 | 73 2c 20 61 6e 64 20 61 |typecode|s, and a|
|000015f0| 20 66 65 77 20 6e 6f 74 | 65 73 20 6f 6e 20 74 68 | few not|es on th|
|00001600| 65 20 73 79 6d 62 6f 6c | 69 63 20 4f 4d 46 20 73 |e symbol|ic OMF s|
|00001610| 65 6d 61 6e 74 69 63 73 | 2e 0d 53 41 44 45 20 52 |emantics|..SADE R|
|00001620| 65 66 65 72 65 6e 63 65 | 20 4d 61 6e 75 61 6c 0d |eference| Manual.|
|00001630| 44 75 6d 70 53 79 6d 0d | 54 68 69 73 20 69 73 20 |DumpSym.|This is |
|00001640| 61 6e 20 4d 50 57 20 74 | 6f 6f 6c 20 61 76 61 69 |an MPW t|ool avai|
|00001650| 6c 61 62 6c 65 20 66 72 | 6f 6d 20 44 54 53 2e 20 |lable fr|om DTS. |
|00001660| 20 49 74 20 64 75 6d 70 | 73 20 74 68 65 20 63 6f | It dump|s the co|
|00001670| 6e 74 65 6e 74 73 20 6f | 66 20 53 79 6d 20 66 69 |ntents o|f Sym fi|
|00001680| 6c 65 73 2e 0d 41 20 6e | 6f 74 65 20 61 62 6f 75 |les..A n|ote abou|
|00001690| 74 20 74 68 65 20 33 2e | 33 20 66 6f 72 6d 61 74 |t the 3.|3 format|
|000016a0| 0d 54 68 65 20 76 65 72 | 73 69 6f 6e 20 33 2e 33 |.The ver|sion 3.3|
|000016b0| 20 53 59 4d 20 66 69 6c | 65 20 66 6f 72 6d 61 74 | SYM fil|e format|
|000016c0| 20 64 65 66 69 6e 69 74 | 69 6f 6e 20 77 61 73 20 | definit|ion was |
|000016d0| 6e 65 76 65 72 20 6f 66 | 66 69 63 69 61 6c 6c 79 |never of|ficially|
|000016e0| 20 73 61 6e 63 74 69 6f | 6e 65 64 20 62 79 20 41 | sanctio|ned by A|
|000016f0| 70 70 6c 65 2c 20 6e 6f | 72 20 77 61 73 20 69 74 |pple, no|r was it|
|00001700| 20 65 76 65 72 20 73 75 | 70 70 6f 72 74 65 64 20 | ever su|pported |
|00001710| 62 79 20 61 6e 20 41 70 | 70 6c 65 20 70 72 6f 64 |by an Ap|ple prod|
|00001720| 75 63 74 2e 20 20 53 69 | 6e 63 65 20 69 74 20 68 |uct. Si|nce it h|
|00001730| 61 73 20 62 65 65 6e 20 | 69 6e 20 77 69 64 65 73 |as been |in wides|
|00001740| 70 72 65 61 64 20 75 73 | 65 20 66 6f 72 20 74 68 |pread us|e for th|
|00001750| 65 20 6c 61 73 74 20 63 | 6f 75 70 6c 65 20 6f 66 |e last c|ouple of|
|00001760| 20 79 65 61 72 73 2c 20 | 74 68 6f 75 67 68 2c 20 | years, |though, |
|00001770| 49 20 66 65 6c 74 20 74 | 68 61 74 20 77 65 20 73 |I felt t|hat we s|
|00001780| 68 6f 75 6c 64 20 62 75 | 6d 70 20 74 68 65 20 76 |hould bu|mp the v|
|00001790| 65 72 73 69 6f 6e 20 6e | 75 6d 62 65 72 20 62 65 |ersion n|umber be|
|000017a0| 79 6f 6e 64 20 69 74 20 | 74 6f 20 68 65 6c 70 20 |yond it |to help |
|000017b0| 64 69 66 66 65 72 65 6e | 74 69 61 74 65 20 62 65 |differen|tiate be|
|000017c0| 74 77 65 65 6e 20 69 74 | 20 61 6e 64 20 74 68 69 |tween it| and thi|
|000017d0| 73 20 75 70 64 61 74 65 | 64 20 73 70 65 63 69 66 |s update|d specif|
|000017e0| 69 63 61 74 69 6f 6e 2e | 0d 41 62 62 72 65 76 69 |ication.|.Abbrevi|
|000017f0| 61 74 69 6f 6e 73 0d 54 | 68 65 20 53 79 6d 20 66 |ations.T|he Sym f|
|00001800| 69 6c 65 20 63 6f 6e 74 | 61 69 6e 73 20 61 20 6e |ile cont|ains a n|
|00001810| 75 6d 62 65 72 20 6f 66 | 20 73 74 72 75 63 74 75 |umber of| structu|
|00001820| 72 65 73 20 74 68 61 74 | 20 61 72 65 20 72 65 66 |res that| are ref|
|00001830| 65 72 72 65 64 20 74 6f | 20 62 79 20 61 62 62 72 |erred to| by abbr|
|00001840| 65 76 69 61 74 69 6f 6e | 73 20 61 6e 64 20 61 63 |eviation|s and ac|
|00001850| 72 6f 6e 79 6d 73 2e 20 | 20 48 65 72 65 20 69 73 |ronyms. | Here is|
|00001860| 20 61 20 73 75 6d 6d 61 | 72 79 20 6f 66 20 74 65 | a summa|ry of te|
|00001870| 72 6d 73 20 75 73 65 64 | 20 69 6e 20 74 68 69 73 |rms used| in this|
|00001880| 20 64 6f 63 75 6d 65 6e | 74 3a 0d 54 65 72 6d 09 | documen|t:.Term.|
|00001890| 45 78 70 61 6e 73 69 6f | 6e 09 44 65 73 63 72 69 |Expansio|n.Descri|
|000018a0| 70 74 69 6f 6e 09 0d 43 | 4c 54 45 09 43 6f 6e 74 |ption..C|LTE.Cont|
|000018b0| 61 69 6e 65 64 20 4c 61 | 62 65 6c 73 20 54 61 62 |ained La|bels Tab|
|000018c0| 6c 65 20 45 6e 74 72 79 | 09 49 6e 66 6f 72 6d 61 |le Entry|.Informa|
|000018d0| 74 69 6f 6e 20 61 62 6f | 75 74 20 6c 61 62 65 6c |tion abo|ut label|
|000018e0| 73 20 69 6e 20 61 20 73 | 63 6f 70 65 09 0d 43 4d |s in a s|cope..CM|
|000018f0| 54 45 09 43 6f 6e 74 61 | 69 6e 65 64 20 4d 6f 64 |TE.Conta|ined Mod|
|00001900| 75 6c 65 73 20 54 61 62 | 6c 65 20 45 6e 74 72 79 |ules Tab|le Entry|
|00001910| 09 49 6e 66 6f 72 6d 61 | 74 69 6f 6e 20 61 62 6f |.Informa|tion abo|
|00001920| 75 74 20 6e 65 73 74 65 | 64 20 73 63 6f 70 65 73 |ut neste|d scopes|
|00001930| 20 61 6e 64 20 6d 6f 64 | 75 6c 65 73 09 0d 43 4f | and mod|ules..CO|
|00001940| 4e 53 54 09 43 6f 6e 73 | 74 61 6e 74 20 70 6f 6f |NST.Cons|tant poo|
|00001950| 6c 09 53 74 6f 72 61 67 | 65 20 66 6f 72 20 3e 34 |l.Storag|e for >4|
|00001960| 20 62 79 74 65 20 63 6f | 6e 73 74 61 6e 74 73 20 | byte co|nstants |
|00001970| 28 65 2e 67 2e 20 73 74 | 72 69 6e 67 73 2c 20 66 |(e.g. st|rings, f|
|00001980| 6c 6f 61 74 73 29 09 0d | 43 53 4e 54 45 09 43 6f |loats)..|CSNTE.Co|
|00001990| 6e 74 61 69 6e 65 64 20 | 53 74 61 74 65 6d 65 6e |ntained |Statemen|
|000019a0| 74 73 20 54 61 62 6c 65 | 20 45 6e 74 72 79 09 53 |ts Table| Entry.S|
|000019b0| 6f 75 72 63 65 20 6c 6f | 63 61 74 69 6f 6e 20 69 |ource lo|cation i|
|000019c0| 6e 66 6f 72 6d 61 74 69 | 6f 6e 09 0d 43 54 54 45 |nformati|on..CTTE|
|000019d0| 09 43 6f 6e 74 61 69 6e | 65 64 20 54 79 70 65 73 |.Contain|ed Types|
|000019e0| 20 54 61 62 6c 65 20 45 | 6e 74 72 79 09 49 6e 66 | Table E|ntry.Inf|
|000019f0| 6f 72 6d 61 74 69 6f 6e | 20 61 62 6f 75 74 20 74 |ormation| about t|
|00001a00| 79 70 65 73 20 69 6e 20 | 61 20 73 63 6f 70 65 09 |ypes in |a scope.|
|00001a10| 0d 43 56 54 45 09 43 6f | 6e 74 61 69 6e 65 64 20 |.CVTE.Co|ntained |
|00001a20| 56 61 72 69 61 62 6c 65 | 73 20 54 61 62 6c 65 20 |Variable|s Table |
|00001a30| 45 6e 74 72 79 09 49 6e | 66 6f 72 6d 61 74 69 6f |Entry.In|formatio|
|00001a40| 6e 20 61 62 6f 75 74 20 | 76 61 72 69 61 62 6c 65 |n about |variable|
|00001a50| 73 20 69 6e 20 61 20 73 | 63 6f 70 65 09 0d 44 53 |s in a s|cope..DS|
|00001a60| 48 42 09 44 69 73 6b 20 | 53 79 6d 62 6f 6c 20 48 |HB.Disk |Symbol H|
|00001a70| 65 61 64 65 72 20 42 6c | 6f 63 6b 09 53 79 6d 20 |eader Bl|ock.Sym |
|00001a80| 66 69 6c 65 20 68 65 61 | 64 65 72 20 73 74 72 75 |file hea|der stru|
|00001a90| 63 74 75 72 65 09 0d 44 | 54 49 09 44 69 73 6b 20 |cture..D|TI.Disk |
|00001aa0| 54 61 62 6c 65 20 49 6e | 66 6f 09 53 79 6d 20 66 |Table In|fo.Sym f|
|00001ab0| 69 6c 65 20 74 61 62 6c | 65 20 64 65 73 63 72 69 |ile tabl|e descri|
|00001ac0| 70 74 6f 72 20 28 63 6f | 6e 74 61 69 6e 65 64 20 |ptor (co|ntained |
|00001ad0| 69 6e 20 44 53 48 42 29 | 09 0d 46 49 54 45 09 46 |in DSHB)|..FITE.F|
|00001ae0| 52 54 45 20 49 6e 64 65 | 78 20 54 61 62 6c 65 20 |RTE Inde|x Table |
|00001af0| 45 6e 74 72 79 09 4f 63 | 63 75 72 65 6e 63 65 20 |Entry.Oc|curence |
|00001b00| 6f 66 20 61 20 73 6f 75 | 72 63 65 20 66 69 6c 65 |of a sou|rce file|
|00001b10| 09 0d 46 52 45 46 09 46 | 69 6c 65 20 52 65 66 65 |..FREF.F|ile Refe|
|00001b20| 72 65 6e 63 65 09 52 65 | 66 65 72 65 6e 63 65 20 |rence.Re|ference |
|00001b30| 74 6f 20 61 20 73 6f 75 | 72 63 65 20 6c 6f 63 61 |to a sou|rce loca|
|00001b40| 74 69 6f 6e 20 62 79 20 | 28 46 52 54 45 2c 20 6f |tion by |(FRTE, o|
|00001b50| 66 66 73 65 74 29 09 0d | 46 52 54 45 09 46 69 6c |ffset)..|FRTE.Fil|
|00001b60| 65 20 52 65 66 65 72 65 | 6e 63 65 20 54 61 62 6c |e Refere|nce Tabl|
|00001b70| 65 20 45 6e 74 72 79 09 | 4d 61 70 73 20 62 65 74 |e Entry.|Maps bet|
|00001b80| 77 65 65 6e 20 6d 6f 64 | 75 6c 65 20 61 6e 64 20 |ween mod|ule and |
|00001b90| 73 6f 75 72 63 65 20 66 | 69 6c 65 20 6c 6f 63 61 |source f|ile loca|
|00001ba0| 74 69 6f 6e 09 0d 48 54 | 45 09 48 61 73 68 20 54 |tion..HT|E.Hash T|
|00001bb0| 61 62 6c 65 20 45 6e 74 | 72 79 09 48 61 73 68 20 |able Ent|ry.Hash |
|00001bc0| 74 61 62 6c 65 20 66 6f | 72 20 4e 54 45 20 6c 6f |table fo|r NTE lo|
|00001bd0| 6f 6b 75 70 09 0d 4d 54 | 45 09 4d 6f 64 75 6c 65 |okup..MT|E.Module|
|00001be0| 20 54 61 62 6c 65 20 45 | 6e 74 72 79 09 44 65 73 | Table E|ntry.Des|
|00001bf0| 63 72 69 62 65 73 20 61 | 20 6d 6f 64 75 6c 65 20 |cribes a| module |
|00001c00| 6f 72 20 73 63 6f 70 65 | 09 0d 4e 54 45 09 4e 61 |or scope|..NTE.Na|
|00001c10| 6d 65 73 20 54 61 62 6c | 65 20 45 6e 74 72 79 09 |mes Tabl|e Entry.|
|00001c20| 48 61 73 68 65 64 20 6e | 61 6d 65 20 74 61 62 6c |Hashed n|ame tabl|
|00001c30| 65 20 65 6e 74 72 79 09 | 0d 52 54 45 09 52 65 73 |e entry.|.RTE.Res|
|00001c40| 6f 75 72 63 65 20 54 61 | 62 6c 65 20 45 6e 74 72 |ource Ta|ble Entr|
|00001c50| 79 09 4d 61 70 73 20 66 | 72 6f 6d 20 61 20 72 65 |y.Maps f|rom a re|
|00001c60| 73 6f 75 72 63 65 20 74 | 6f 20 61 20 72 61 6e 67 |source t|o a rang|
|00001c70| 65 20 6f 66 20 4d 54 45 | 73 09 0d 53 43 41 09 53 |e of MTE|s..SCA.S|
|00001c80| 74 6f 72 61 67 65 20 43 | 6c 61 73 73 20 41 64 64 |torage C|lass Add|
|00001c90| 72 65 73 73 09 44 65 73 | 63 72 69 62 65 73 20 68 |ress.Des|cribes h|
|00001ca0| 6f 77 20 74 6f 20 61 63 | 63 65 73 73 20 61 6e 20 |ow to ac|cess an |
|00001cb0| 61 64 64 72 65 73 73 61 | 62 6c 65 20 65 6e 74 69 |addressa|ble enti|
|00001cc0| 74 79 09 0d 54 49 4e 46 | 4f 09 54 79 70 65 20 49 |ty..TINF|O.Type I|
|00001cd0| 6e 66 6f 72 6d 61 74 69 | 6f 6e 09 41 63 74 75 61 |nformati|on.Actua|
|00001ce0| 6c 20 74 79 70 65 20 69 | 6e 66 6f 72 6d 61 74 69 |l type i|nformati|
|00001cf0| 6f 6e 2c 20 70 6f 69 6e | 74 65 64 20 74 6f 20 62 |on, poin|ted to b|
|00001d00| 79 20 54 54 45 73 09 0d | 54 54 45 09 54 79 70 65 |y TTEs..|TTE.Type|
|00001d10| 20 54 61 62 6c 65 20 45 | 6e 74 72 79 09 49 6e 64 | Table E|ntry.Ind|
|00001d20| 65 78 20 74 6f 20 74 79 | 70 65 20 69 6e 66 6f 72 |ex to ty|pe infor|
|00001d30| 6d 61 74 69 6f 6e 2c 20 | 66 72 6f 6d 20 61 20 74 |mation, |from a t|
|00001d40| 79 70 65 20 6e 75 6d 62 | 65 72 09 0d 0d 46 75 74 |ype numb|er...Fut|
|00001d50| 75 72 65 20 44 69 72 65 | 63 74 69 6f 6e 73 0d 54 |ure Dire|ctions.T|
|00001d60| 68 65 20 53 79 6d 20 66 | 69 6c 65 20 61 6e 64 20 |he Sym f|ile and |
|00001d70| 4f 4d 46 20 77 69 6c 6c | 20 70 72 6f 76 69 64 65 |OMF will| provide|
|00001d80| 20 73 75 70 70 6f 72 74 | 20 66 6f 72 20 6f 62 6a | support| for obj|
|00001d90| 65 63 74 2d 6f 72 69 65 | 6e 74 65 64 20 6c 61 6e |ect-orie|nted lan|
|00001da0| 67 75 61 67 65 73 20 28 | 43 2b 2b 20 61 6e 64 20 |guages (|C++ and |
|00001db0| 4f 62 6a 65 63 74 20 50 | 61 73 63 61 6c 29 2e 20 |Object P|ascal). |
|00001dc0| 20 54 68 69 73 20 77 69 | 6c 6c 20 61 66 66 65 63 | This wi|ll affec|
|00001dd0| 74 20 74 68 65 20 4f 4d | 46 20 61 6e 64 20 53 79 |t the OM|F and Sy|
|00001de0| 6d 20 66 69 6c 65 20 66 | 6f 72 6d 61 74 20 69 6e |m file f|ormat in|
|00001df0| 20 61 73 2d 79 65 74 20 | 75 6e 64 65 74 65 72 6d | as-yet |undeterm|
|00001e00| 69 6e 65 64 20 77 61 79 | 73 20 28 66 6f 72 20 69 |ined way|s (for i|
|00001e10| 6e 73 74 61 6e 63 65 2c | 20 6d 75 6c 74 69 70 6c |nstance,| multipl|
|00001e20| 65 20 69 6e 68 65 72 69 | 74 61 6e 63 65 20 6d 65 |e inheri|tance me|
|00001e30| 61 6e 73 20 74 68 61 74 | 20 61 6e 20 4d 54 45 20 |ans that| an MTE |
|00001e40| 63 61 6e 20 62 65 20 69 | 6e 20 73 65 76 65 72 61 |can be i|n severa|
|00001e50| 6c 20 73 63 6f 70 65 73 | 20 61 74 20 6f 6e 63 65 |l scopes| at once|
|00001e60| 2c 20 6e 6f 74 20 6a 75 | 73 74 20 61 20 73 69 6d |, not ju|st a sim|
|00001e70| 70 6c 65 20 6c 65 78 69 | 63 61 6c 20 73 63 6f 70 |ple lexi|cal scop|
|00001e80| 65 29 2e 0d 49 6e 20 43 | 2b 2b 20 76 61 72 69 61 |e)..In C|++ varia|
|00001e90| 62 6c 65 73 20 63 61 6e | 20 68 61 76 65 20 6e 6f |bles can| have no|
|00001ea0| 6e 2d 62 6c 6f 63 6b 20 | 73 63 6f 70 65 20 28 77 |n-block |scope (w|
|00001eb0| 68 65 72 65 20 73 63 6f | 70 65 20 73 74 61 72 74 |here sco|pe start|
|00001ec0| 73 20 69 6e 20 74 68 65 | 20 6d 69 64 64 6c 65 20 |s in the| middle |
|00001ed0| 6f 66 20 61 20 62 6c 6f | 63 6b 29 2c 20 77 68 69 |of a blo|ck), whi|
|00001ee0| 63 68 20 74 68 65 20 63 | 75 72 72 65 6e 74 20 53 |ch the c|urrent S|
|00001ef0| 79 6d 20 66 69 6c 65 20 | 73 74 72 75 63 74 75 72 |ym file |structur|
|00001f00| 65 73 20 64 6f 6e 27 74 | 20 68 61 6e 64 6c 65 20 |es don't| handle |
|00001f10| 65 66 66 69 63 69 65 6e | 74 6c 79 2e 20 20 53 69 |efficien|tly. Si|
|00001f20| 6d 69 6c 61 72 6c 79 2c | 20 74 68 65 20 63 75 72 |milarly,| the cur|
|00001f30| 72 65 6e 74 20 73 74 72 | 75 63 74 75 72 65 73 20 |rent str|uctures |
|00001f40| 64 6f 6e 27 74 20 67 72 | 61 63 65 66 75 6c 6c 79 |don't gr|acefully|
|00001f50| 20 68 61 6e 64 6c 65 20 | 76 61 72 69 61 62 6c 65 | handle |variable|
|00001f60| 73 20 77 68 69 63 68 20 | 6d 6f 76 65 20 66 72 6f |s which |move fro|
|00001f70| 6d 20 72 65 67 69 73 74 | 65 72 20 74 6f 20 72 65 |m regist|er to re|
|00001f80| 67 69 73 74 65 72 2e 0d | 54 68 65 72 65 20 77 69 |gister..|There wi|
|00001f90| 6c 6c 20 62 65 20 63 68 | 61 6e 67 65 73 20 74 6f |ll be ch|anges to|
|00001fa0| 20 6d 61 6b 65 20 74 68 | 65 20 53 79 6d 20 66 69 | make th|e Sym fi|
|00001fb0| 6c 65 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 20 73 |le infor|mation s|
|00001fc0| 6d 61 6c 6c 65 72 20 28 | 69 2e 65 2e 20 63 6f 6d |maller (|i.e. com|
|00001fd0| 70 72 65 73 73 20 4d 54 | 45 73 29 2e 0d 54 6f 20 |press MT|Es)..To |
|00001fe0| 6d 61 69 6e 74 61 69 6e | 20 63 6f 6d 70 61 74 69 |maintain| compati|
|00001ff0| 62 69 6c 69 74 79 20 77 | 69 74 68 20 74 68 65 20 |bility w|ith the |
|00002000| 76 65 72 73 69 6f 6e 20 | 33 2e 32 20 53 59 4d 20 |version |3.2 SYM |
|00002010| 64 65 66 69 6e 69 74 69 | 6f 6e 2c 20 74 68 65 20 |definiti|on, the |
|00002020| 6f 72 69 67 69 6e 61 6c | 20 33 2e 32 20 73 74 72 |original| 3.2 str|
|00002030| 75 63 74 75 72 65 20 64 | 65 66 69 6e 69 74 69 6f |ucture d|efinitio|
|00002040| 6e 73 20 69 6e 63 6c 75 | 64 65 64 20 69 6e 20 74 |ns inclu|ded in t|
|00002050| 68 65 20 69 6e 74 65 72 | 66 61 63 65 20 66 69 6c |he inter|face fil|
|00002060| 65 73 20 68 61 76 65 20 | 62 65 65 6e 20 72 65 74 |es have |been ret|
|00002070| 61 69 6e 65 64 2c 20 62 | 75 74 20 74 68 65 69 72 |ained, b|ut their|
|00002080| 20 6e 61 6d 65 73 20 68 | 61 76 65 20 62 65 65 6e | names h|ave been|
|00002090| 20 73 75 66 66 69 78 65 | 64 20 77 69 74 68 20 d2 | suffixe|d with .|
|000020a0| 5f 76 33 32 d3 2e 20 20 | 54 68 69 73 20 77 61 73 |_v32.. |This was|
|000020b0| 20 64 6f 6e 65 20 74 6f | 20 61 6c 6c 6f 77 20 73 | done to| allow s|
|000020c0| 6f 66 74 77 61 72 65 20 | 63 6f 6d 70 6f 6e 65 6e |oftware |componen|
|000020d0| 74 73 20 74 6f 20 73 75 | 70 70 6f 72 74 20 62 6f |ts to su|pport bo|
|000020e0| 74 68 20 74 68 65 20 6f | 6c 64 20 61 6e 64 20 74 |th the o|ld and t|
|000020f0| 68 65 20 6e 65 77 20 64 | 65 66 69 6e 69 74 69 6f |he new d|efinitio|
|00002100| 6e 73 2c 20 69 66 20 74 | 68 65 79 20 73 6f 20 77 |ns, if t|hey so w|
|00002110| 69 73 68 2e 20 20 46 6f | 72 20 74 68 6f 73 65 20 |ish. Fo|r those |
|00002120| 72 65 61 64 65 72 73 20 | 77 68 6f 20 77 69 73 68 |readers |who wish|
|00002130| 20 74 6f 20 73 69 6d 70 | 6c 79 20 72 65 62 75 69 | to simp|ly rebui|
|00002140| 6c 64 20 74 68 65 69 72 | 20 63 6f 6d 70 6f 6e 65 |ld their| compone|
|00002150| 6e 74 20 75 73 69 6e 67 | 20 74 68 65 20 6e 65 77 |nt using| the new|
|00002160| 20 69 6e 74 65 72 66 61 | 63 65 73 20 74 6f 20 61 | interfa|ces to a|
|00002170| 6c 6c 6f 77 20 74 68 65 | 69 72 20 63 6f 6d 70 6f |llow the|ir compo|
|00002180| 6e 65 6e 74 20 74 6f 20 | 73 75 70 70 6f 72 74 20 |nent to |support |
|00002190| 74 68 65 20 6e 65 77 20 | 66 6f 72 6d 61 74 2c 20 |the new |format, |
|000021a0| 74 68 65 20 6e 65 77 20 | 69 6e 74 65 72 66 61 63 |the new |interfac|
|000021b0| 65 73 20 68 61 76 65 20 | 68 61 64 20 74 68 65 20 |es have |had the |
|000021c0| 6f 72 69 67 69 6e 61 6c | 20 73 74 72 75 63 74 75 |original| structu|
|000021d0| 72 65 20 64 65 66 69 6e | 69 74 69 6f 6e 73 20 75 |re defin|itions u|
|000021e0| 70 64 61 74 65 64 20 74 | 6f 20 63 6f 6e 66 6f 72 |pdated t|o confor|
|000021f0| 6d 20 74 6f 20 74 68 65 | 20 66 6f 6c 6c 6f 77 69 |m to the| followi|
|00002200| 6e 67 20 64 65 73 63 72 | 69 70 74 69 6f 6e 73 2e |ng descr|iptions.|
|00002210| 0d 44 75 72 69 6e 67 20 | 74 68 69 73 20 70 65 72 |.During |this per|
|00002220| 69 6f 64 20 6f 66 20 74 | 72 61 6e 73 69 74 69 6f |iod of t|ransitio|
|00002230| 6e 2c 20 69 74 20 69 73 | 20 73 75 67 67 65 73 74 |n, it is| suggest|
|00002240| 65 64 20 74 68 61 74 20 | 63 6f 6d 70 6f 6e 65 6e |ed that |componen|
|00002250| 74 73 20 64 65 61 6c 69 | 6e 67 20 77 69 74 68 20 |ts deali|ng with |
|00002260| 53 59 4d 20 66 69 6c 65 | 73 20 73 75 70 70 6f 72 |SYM file|s suppor|
|00002270| 74 20 62 6f 74 68 20 74 | 68 65 20 63 75 72 72 65 |t both t|he curre|
|00002280| 6e 74 20 33 2e 32 20 66 | 6f 72 6d 61 74 20 61 73 |nt 3.2 f|ormat as|
|00002290| 20 77 65 6c 6c 20 61 73 | 20 74 68 65 20 6e 65 77 | well as| the new|
|000022a0| 20 33 2e 34 20 66 6f 72 | 6d 61 74 2e 20 20 54 6f | 3.4 for|mat. To|
|000022b0| 20 64 6f 20 73 6f 2c 20 | 74 68 65 20 63 6f 6d 70 | do so, |the comp|
|000022c0| 6f 6e 65 6e 74 20 73 68 | 6f 75 6c 64 20 75 73 65 |onent sh|ould use|
|000022d0| 20 74 68 65 20 33 2e 34 | 20 66 6f 72 6d 61 74 20 | the 3.4| format |
|000022e0| 64 61 74 61 20 73 74 72 | 75 63 74 75 72 65 73 20 |data str|uctures |
|000022f0| 69 6e 74 65 72 6e 61 6c | 6c 79 2c 20 61 6e 64 20 |internal|ly, and |
|00002300| 74 72 61 6e 73 6c 61 74 | 65 20 74 6f 2f 66 72 6f |translat|e to/fro|
|00002310| 6d 20 74 68 65 20 70 72 | 65 76 69 6f 75 73 20 66 |m the pr|evious f|
|00002320| 6f 72 6d 61 74 20 77 68 | 65 6e 20 6e 65 63 65 73 |ormat wh|en neces|
|00002330| 73 61 72 79 2e 20 20 46 | 6f 72 20 53 59 4d 20 66 |sary. F|or SYM f|
|00002340| 69 6c 65 20 70 72 6f 64 | 75 63 65 72 73 2c 20 61 |ile prod|ucers, a|
|00002350| 6e 20 61 70 70 72 6f 70 | 72 69 61 74 65 20 77 61 |n approp|riate wa|
|00002360| 72 6e 69 6e 67 20 73 68 | 6f 75 6c 64 20 62 65 20 |rning sh|ould be |
|00002370| 69 73 73 75 65 64 20 77 | 68 65 6e 20 74 68 65 20 |issued w|hen the |
|00002380| 63 6f 6e 76 65 72 73 69 | 6f 6e 20 6f 66 20 61 20 |conversi|on of a |
|00002390| 33 32 2d 62 69 74 20 76 | 61 6c 75 65 20 74 6f 20 |32-bit v|alue to |
|000023a0| 61 20 31 36 2d 62 69 74 | 20 76 61 6c 75 65 20 77 |a 16-bit| value w|
|000023b0| 6f 75 6c 64 20 63 61 75 | 73 65 20 6f 76 65 72 66 |ould cau|se overf|
|000023c0| 6c 6f 77 20 6f 66 20 74 | 68 65 20 31 36 2d 62 69 |low of t|he 16-bi|
|000023d0| 74 20 64 61 74 61 20 66 | 69 65 6c 64 2e 20 20 54 |t data f|ield. T|
|000023e0| 68 65 20 64 65 66 61 75 | 6c 74 20 77 69 74 68 20 |he defau|lt with |
|000023f0| d2 2d 73 79 6d 20 6f 6e | d3 20 6f 72 20 d2 2d 73 |.-sym on|. or .-s|
|00002400| 79 6d 20 66 75 6c 6c d3 | 20 73 68 6f 75 6c 64 20 |ym full.| should |
|00002410| 62 65 20 74 68 65 20 67 | 65 6e 65 72 61 74 69 6f |be the g|eneratio|
|00002420| 6e 20 6f 66 20 76 65 72 | 73 69 6f 6e 20 33 2e 34 |n of ver|sion 3.4|
|00002430| 2d 66 6f 72 6d 61 74 20 | 53 59 4d 20 66 69 6c 65 |-format |SYM file|
|00002440| 73 2e 0d 53 59 4d 20 66 | 69 6c 65 20 70 72 6f 64 |s..SYM f|ile prod|
|00002450| 75 63 65 72 73 20 74 68 | 61 74 20 61 72 65 20 63 |ucers th|at are c|
|00002460| 6f 6d 6d 61 6e 64 2d 6c | 69 6e 65 20 64 72 69 76 |ommand-l|ine driv|
|00002470| 65 6e 20 73 68 6f 75 6c | 64 20 73 74 61 6e 64 61 |en shoul|d standa|
|00002480| 72 64 69 7a 65 20 6f 6e | 20 61 20 63 6f 6d 6d 6f |rdize on| a commo|
|00002490| 6e 20 61 64 64 69 74 69 | 6f 6e 61 6c 20 61 72 67 |n additi|onal arg|
|000024a0| 75 6d 65 6e 74 20 74 6f | 20 74 68 65 20 65 78 69 |ument to| the exi|
|000024b0| 73 74 69 6e 67 20 2d 73 | 79 6d 20 6f 70 74 69 6f |sting -s|ym optio|
|000024c0| 6e 2e 20 20 49 20 73 75 | 67 67 65 73 74 20 d2 33 |n. I su|ggest .3|
|000024d0| 2e 34 d3 2c 20 61 73 20 | 69 6e 20 d2 2d 73 79 6d |.4., as |in .-sym|
|000024e0| 20 33 2e 34 d3 2e 20 20 | d2 4f 66 66 d3 2c 20 d2 | 3.4.. |.Off., .|
|000024f0| 4f 6e d3 2c 20 61 6e 64 | 20 d2 46 75 6c 6c d3 20 |On., and| .Full. |
|00002500| 61 72 65 20 61 6c 72 65 | 61 64 79 20 69 6e 20 75 |are alre|ady in u|
|00002510| 73 65 20 74 6f 20 70 72 | 6f 64 75 63 65 20 33 2e |se to pr|oduce 3.|
|00002520| 32 20 66 6f 72 6d 61 74 | 20 53 59 4d 20 66 69 6c |2 format| SYM fil|
|00002530| 65 73 2e 20 20 d2 42 69 | 67 d3 20 69 73 20 61 6c |es. .Bi|g. is al|
|00002540| 72 65 61 64 79 20 69 6e | 20 75 73 65 20 62 79 20 |ready in| use by |
|00002550| 74 68 65 20 4d 61 6b 65 | 53 79 6d 20 74 6f 6f 6c |the Make|Sym tool|
|00002560| 20 74 6f 20 61 6c 6c 6f | 77 20 69 74 20 74 6f 20 | to allo|w it to |
|00002570| 75 73 65 20 6d 65 6d 6f | 72 79 20 64 69 66 66 65 |use memo|ry diffe|
|00002580| 72 65 6e 74 6c 79 20 77 | 68 65 6e 20 70 72 6f 64 |rently w|hen prod|
|00002590| 75 63 69 6e 67 20 61 20 | 53 59 4d 20 66 69 6c 65 |ucing a |SYM file|
|000025a0| 20 2d 20 74 68 65 72 65 | 66 6f 72 65 20 74 68 69 | - there|fore thi|
|000025b0| 73 20 61 72 67 75 6d 65 | 6e 74 20 73 68 6f 75 6c |s argume|nt shoul|
|000025c0| 64 20 6e 6f 74 20 62 65 | 20 75 73 65 64 20 74 6f |d not be| used to|
|000025d0| 20 73 70 65 63 69 66 79 | 20 74 68 65 20 70 72 6f | specify| the pro|
|000025e0| 64 75 63 74 69 6f 6e 20 | 6f 66 20 74 68 65 20 6e |duction |of the n|
|000025f0| 65 77 20 53 59 4d 20 66 | 6f 72 6d 61 74 20 66 69 |ew SYM f|ormat fi|
|00002600| 6c 65 2e 20 20 54 6f 20 | 73 75 70 70 6f 72 74 20 |le. To |support |
|00002610| 66 75 74 75 72 65 20 63 | 6f 6d 70 61 74 69 62 69 |future c|ompatibi|
|00002620| 6c 69 74 79 2c 20 49 20 | 61 6c 73 6f 20 73 75 67 |lity, I |also sug|
|00002630| 67 65 73 74 20 69 6d 70 | 6c 65 6d 65 6e 74 69 6e |gest imp|lementin|
|00002640| 67 20 61 20 d2 2d 73 79 | 6d 20 33 2e 32 d3 20 6f |g a .-sy|m 3.2. o|
|00002650| 70 74 69 6f 6e 2c 20 74 | 6f 20 73 70 65 63 69 66 |ption, t|o specif|
|00002660| 79 20 67 65 6e 65 72 61 | 74 69 6f 6e 20 6f 66 20 |y genera|tion of |
|00002670| 33 2e 32 2d 66 6f 72 6d | 61 74 20 53 59 4d 20 66 |3.2-form|at SYM f|
|00002680| 69 6c 65 73 2e 0d 4e 6f | 6e 2d 63 6f 6d 6d 61 6e |iles..No|n-comman|
|00002690| 64 2d 6c 69 6e 65 20 64 | 72 69 76 65 6e 20 70 72 |d-line d|riven pr|
|000026a0| 6f 64 75 63 65 72 73 20 | 63 61 6e 20 65 69 74 68 |oducers |can eith|
|000026b0| 65 72 20 73 75 70 70 6c | 79 20 73 6f 6d 65 20 74 |er suppl|y some t|
|000026c0| 79 70 65 20 6f 66 20 70 | 72 65 66 65 72 65 6e 63 |ype of p|referenc|
|000026d0| 65 20 73 65 74 74 69 6e | 67 2c 20 6f 72 20 73 69 |e settin|g, or si|
|000026e0| 6d 70 6c 79 20 70 72 6f | 64 75 63 65 20 74 68 65 |mply pro|duce the|
|000026f0| 20 6e 65 77 20 53 59 4d | 20 66 6f 72 6d 61 74 20 | new SYM| format |
|00002700| 61 6e 64 20 68 6f 70 65 | 20 74 68 61 74 20 63 6f |and hope| that co|
|00002710| 6e 73 75 6d 65 72 73 20 | 77 69 6c 6c 20 62 65 20 |nsumers |will be |
|00002720| 75 70 64 61 74 65 64 20 | 69 6e 20 74 69 6d 65 20 |updated |in time |
|00002730| 74 6f 20 62 65 20 61 62 | 6c 65 20 74 6f 20 72 65 |to be ab|le to re|
|00002740| 61 64 20 74 68 65 20 6e | 65 77 20 66 6f 72 6d 61 |ad the n|ew forma|
|00002750| 74 2e 0d 53 59 4d 20 66 | 69 6c 65 20 63 6f 6e 73 |t..SYM f|ile cons|
|00002760| 75 6d 65 72 73 20 73 68 | 6f 75 6c 64 20 62 65 20 |umers sh|ould be |
|00002770| 61 62 6c 65 20 74 6f 20 | 62 65 20 69 6d 70 6c 65 |able to |be imple|
|00002780| 6d 65 6e 74 65 64 20 69 | 6e 20 73 75 63 68 20 61 |mented i|n such a|
|00002790| 20 77 61 79 20 61 73 20 | 74 6f 20 6d 61 6b 65 20 | way as |to make |
|000027a0| 74 68 65 20 64 65 63 69 | 73 69 6f 6e 20 61 74 20 |the deci|sion at |
|000027b0| 72 75 6e 74 69 6d 65 20 | 77 68 69 63 68 20 53 59 |runtime |which SY|
|000027c0| 4d 20 66 69 6c 65 20 66 | 6f 72 6d 61 74 20 69 73 |M file f|ormat is|
|000027d0| 20 62 65 69 6e 67 20 72 | 65 61 64 2c 20 62 61 73 | being r|ead, bas|
|000027e0| 65 64 20 6f 6e 20 74 68 | 65 20 63 6f 6e 74 65 6e |ed on th|e conten|
|000027f0| 74 73 20 6f 66 20 74 68 | 65 20 76 65 72 73 69 6f |ts of th|e versio|
|00002800| 6e 20 73 74 72 69 6e 67 | 20 65 6d 62 65 64 64 65 |n string| embedde|
|00002810| 64 20 77 69 74 68 69 6e | 20 74 68 65 20 53 59 4d |d within| the SYM|
|00002820| 20 66 69 6c 65 2e 0d 43 | 6f 6e 73 74 61 6e 74 73 | file..C|onstants|
|00002830| 20 61 6e 64 20 43 6f 6d | 6d 6f 6e 20 52 65 63 6f | and Com|mon Reco|
|00002840| 72 64 73 0d 54 68 69 73 | 20 73 65 63 74 69 6f 6e |rds.This| section|
|00002850| 20 64 65 73 63 72 69 62 | 65 73 20 73 6f 6d 65 20 | describ|es some |
|00002860| 63 6f 6d 6d 6f 6e 20 63 | 6f 6e 73 74 61 6e 74 73 |common c|onstants|
|00002870| 20 61 6e 64 20 72 65 63 | 6f 72 64 73 20 74 68 61 | and rec|ords tha|
|00002880| 74 20 61 72 65 20 75 73 | 65 64 20 62 79 20 64 61 |t are us|ed by da|
|00002890| 74 61 20 73 74 72 75 63 | 74 75 72 65 73 20 64 65 |ta struc|tures de|
|000028a0| 66 69 6e 65 64 20 6c 61 | 74 65 72 20 69 6e 20 74 |fined la|ter in t|
|000028b0| 68 69 73 20 64 6f 63 75 | 6d 65 6e 74 2e 0d 54 79 |his docu|ment..Ty|
|000028c0| 70 65 73 0d 49 6e 20 74 | 68 65 20 50 61 73 63 61 |pes.In t|he Pasca|
|000028d0| 6c 20 64 65 63 6c 61 72 | 61 74 69 6f 6e 73 20 74 |l declar|ations t|
|000028e0| 68 61 74 20 66 6f 6c 6c | 6f 77 2c 20 74 68 65 20 |hat foll|ow, the |
|000028f0| 55 4e 53 49 47 4e 45 44 | 20 74 79 70 65 20 69 73 |UNSIGNED| type is|
|00002900| 20 72 65 61 6c 6c 79 20 | 61 6e 20 49 4e 54 45 47 | really |an INTEG|
|00002910| 45 52 20 74 68 61 74 20 | 69 73 20 74 72 65 61 74 |ER that |is treat|
|00002920| 65 64 20 61 73 20 69 66 | 20 69 74 20 77 65 72 65 |ed as if| it were|
|00002930| 20 75 6e 73 69 67 6e 65 | 64 2e 20 20 4d 50 57 20 | unsigne|d. MPW |
|00002940| 50 61 73 63 61 6c 20 64 | 6f 65 73 20 6e 6f 74 20 |Pascal d|oes not |
|00002950| 73 75 70 70 6f 72 74 20 | 31 36 2d 62 69 74 20 75 |support |16-bit u|
|00002960| 6e 73 69 67 6e 65 64 20 | 76 61 6c 75 65 73 20 28 |nsigned |values (|
|00002970| 61 74 20 6c 65 61 73 74 | 2c 20 6e 6f 74 20 77 65 |at least|, not we|
|00002980| 6c 6c 29 2c 20 61 6e 64 | 20 69 74 20 69 73 20 66 |ll), and| it is f|
|00002990| 72 65 71 75 65 6e 74 6c | 79 20 6e 65 63 65 73 73 |requentl|y necess|
|000029a0| 61 72 79 20 74 6f 20 22 | 74 72 69 63 6b 22 20 74 |ary to "|trick" t|
|000029b0| 68 65 20 63 6f 6d 70 69 | 6c 65 72 20 69 6e 74 6f |he compi|ler into|
|000029c0| 20 64 6f 69 6e 67 20 74 | 68 65 20 72 69 67 68 74 | doing t|he right|
|000029d0| 20 74 68 69 6e 67 20 77 | 68 65 6e 20 6d 61 6e 69 | thing w|hen mani|
|000029e0| 70 75 6c 61 74 69 6e 67 | 20 73 75 63 68 20 76 61 |pulating| such va|
|000029f0| 6c 75 65 73 2e 0d 54 59 | 50 45 0d 09 55 4e 53 49 |lues..TY|PE..UNSI|
|00002a00| 47 4e 45 44 20 3d 20 49 | 4e 54 45 47 45 52 3b 0d |GNED = I|NTEGER;.|
|00002a10| 0d 53 79 6d 62 6f 6c 20 | 53 63 6f 70 65 0d 54 68 |.Symbol |Scope.Th|
|00002a20| 65 20 66 6f 6c 6c 6f 77 | 69 6e 67 20 63 6f 6e 73 |e follow|ing cons|
|00002a30| 74 61 6e 74 73 20 69 6e | 64 69 63 61 74 65 20 74 |tants in|dicate t|
|00002a40| 68 65 20 76 69 73 69 62 | 69 6c 69 74 79 20 6f 66 |he visib|ility of|
|00002a50| 20 61 20 6d 6f 64 75 6c | 65 2c 20 6c 61 62 65 6c | a modul|e, label|
|00002a60| 20 6f 72 20 76 61 72 69 | 61 62 6c 65 20 28 64 69 | or vari|able (di|
|00002a70| 73 72 65 67 61 72 64 69 | 6e 67 20 69 74 73 20 6c |sregardi|ng its l|
|00002a80| 65 78 69 63 61 6c 20 73 | 63 6f 70 65 29 3a 0d 43 |exical s|cope):.C|
|00002a90| 4f 4e 53 54 0d 09 53 59 | 4d 42 4f 4c 5f 53 43 4f |ONST..SY|MBOL_SCO|
|00002aa0| 50 45 5f 4c 4f 43 41 4c | 09 3d 09 30 3b 09 7b 20 |PE_LOCAL|.=.0;.{ |
|00002ab0| 6e 6f 74 20 76 69 73 69 | 62 6c 65 20 6f 75 74 73 |not visi|ble outs|
|00002ac0| 69 64 65 20 6c 65 78 69 | 63 61 6c 20 73 63 6f 70 |ide lexi|cal scop|
|00002ad0| 65 09 7d 0d 09 53 59 4d | 42 4f 4c 5f 53 43 4f 50 |e.}..SYM|BOL_SCOP|
|00002ae0| 45 5f 47 4c 4f 42 41 4c | 09 3d 09 31 3b 09 7b 20 |E_GLOBAL|.=.1;.{ |
|00002af0| 65 78 70 6f 72 74 65 64 | 2c 20 76 69 73 69 62 6c |exported|, visibl|
|00002b00| 65 20 74 6f 20 6f 74 68 | 65 72 20 73 63 6f 70 65 |e to oth|er scope|
|00002b10| 73 09 7d 0d 0d 53 74 6f | 72 61 67 65 20 43 6c 61 |s.}..Sto|rage Cla|
|00002b20| 73 73 65 73 0d 41 20 53 | 54 4f 52 41 47 45 5f 43 |sses.A S|TORAGE_C|
|00002b30| 4c 41 53 53 5f 41 44 44 | 52 45 53 53 20 72 65 63 |LASS_ADD|RESS rec|
|00002b40| 6f 72 64 20 64 65 73 63 | 72 69 62 65 73 20 68 6f |ord desc|ribes ho|
|00002b50| 77 20 67 65 74 20 74 6f | 20 61 20 76 61 72 69 61 |w get to| a varia|
|00002b60| 62 6c 65 2e 20 20 54 68 | 65 20 72 65 63 6f 72 64 |ble. Th|e record|
|00002b70| 20 68 61 73 20 74 68 65 | 20 66 6f 6c 6c 6f 77 69 | has the| followi|
|00002b80| 6e 67 20 66 69 65 6c 64 | 73 3a 0d 53 54 4f 52 41 |ng field|s:.STORA|
|00002b90| 47 45 5f 43 4c 41 53 53 | 5f 41 44 44 52 45 53 53 |GE_CLASS|_ADDRESS|
|00002ba0| 20 3d 20 52 45 43 4f 52 | 44 0d 09 53 43 41 5f 4b | = RECOR|D..SCA_K|
|00002bb0| 49 4e 44 3a 09 53 69 67 | 6e 65 64 42 79 74 65 3b |IND:.Sig|nedByte;|
|00002bc0| 09 7b 20 64 69 73 74 69 | 6e 67 75 69 73 68 20 6c |.{ disti|nguish l|
|00002bd0| 6f 63 61 6c 2f 76 61 6c | 75 65 2f 72 65 66 65 72 |ocal/val|ue/refer|
|00002be0| 65 6e 63 65 09 7d 0d 09 | 53 43 41 5f 43 4c 41 53 |ence.}..|SCA_CLAS|
|00002bf0| 53 3a 09 53 69 67 6e 65 | 64 42 79 74 65 3b 09 7b |S:.Signe|dByte;.{|
|00002c00| 20 68 6f 77 20 74 6f 20 | 67 65 74 20 61 20 62 61 | how to |get a ba|
|00002c10| 73 65 20 61 64 64 72 65 | 73 73 09 09 09 7d 0d 09 |se addre|ss...}..|
|00002c20| 53 43 41 5f 4f 46 46 53 | 45 54 3a 09 4c 4f 4e 47 |SCA_OFFS|ET:.LONG|
|00002c30| 49 4e 54 3b 09 09 7b 20 | 6f 66 66 73 65 74 20 66 |INT;..{ |offset f|
|00002c40| 72 6f 6d 20 74 68 65 20 | 62 61 73 65 20 61 64 64 |rom the |base add|
|00002c50| 72 65 73 73 09 09 7d 0d | 45 4e 44 3b 0d 54 68 65 |ress..}.|END;.The|
|00002c60| 20 73 63 61 5f 6b 69 6e | 64 20 66 69 65 6c 64 20 | sca_kin|d field |
|00002c70| 64 69 73 74 69 6e 67 75 | 69 73 68 65 73 20 6c 6f |distingu|ishes lo|
|00002c80| 63 61 6c 20 76 61 72 69 | 61 62 6c 65 73 20 66 72 |cal vari|ables fr|
|00002c90| 6f 6d 20 63 61 6c 6c 2d | 62 79 2d 72 65 66 65 72 |om call-|by-refer|
|00002ca0| 65 6e 63 65 20 61 6e 64 | 20 63 61 6c 6c 2d 62 79 |ence and| call-by|
|00002cb0| 2d 76 61 6c 75 65 20 70 | 61 72 61 6d 65 74 65 72 |-value p|arameter|
|00002cc0| 73 2c 20 61 6e 64 20 74 | 61 6b 65 73 20 6f 6e 20 |s, and t|akes on |
|00002cd0| 6f 6e 65 20 6f 66 20 74 | 68 65 20 66 6f 6c 6c 6f |one of t|he follo|
|00002ce0| 77 69 6e 67 20 76 61 6c | 75 65 73 3a 0d 43 4f 4e |wing val|ues:.CON|
|00002cf0| 53 54 0d 09 53 54 4f 52 | 41 47 45 5f 4b 49 4e 44 |ST..STOR|AGE_KIND|
|00002d00| 5f 4c 4f 43 41 4c 09 09 | 3d 09 30 3b 09 7b 20 61 |_LOCAL..|=.0;.{ a|
|00002d10| 20 73 69 6d 70 6c 65 20 | 6c 6f 63 61 6c 20 76 61 | simple |local va|
|00002d20| 72 69 61 62 6c 65 09 09 | 09 09 09 7d 0d 09 53 54 |riable..|...}..ST|
|00002d30| 4f 52 41 47 45 5f 4b 49 | 4e 44 5f 56 41 4c 55 45 |ORAGE_KI|ND_VALUE|
|00002d40| 09 09 3d 09 31 3b 09 7b | 20 61 20 63 61 6c 6c 2d |..=.1;.{| a call-|
|00002d50| 62 79 2d 76 61 6c 75 65 | 20 70 61 72 61 6d 65 74 |by-value| paramet|
|00002d60| 65 72 09 09 09 09 7d 0d | 09 53 54 4f 52 41 47 45 |er....}.|.STORAGE|
|00002d70| 5f 4b 49 4e 44 5f 52 45 | 46 45 52 45 4e 43 45 09 |_KIND_RE|FERENCE.|
|00002d80| 3d 09 32 3b 09 7b 20 61 | 20 63 61 6c 6c 2d 62 79 |=.2;.{ a| call-by|
|00002d90| 2d 72 65 66 65 72 65 6e | 63 65 20 28 56 41 52 29 |-referen|ce (VAR)|
|00002da0| 20 70 61 72 61 6d 65 74 | 65 72 09 7d 0d 09 53 54 | paramet|er.}..ST|
|00002db0| 4f 52 41 47 45 5f 4b 49 | 4e 44 5f 57 49 54 48 09 |ORAGE_KI|ND_WITH.|
|00002dc0| 09 09 3d 09 33 3b 09 7b | 20 64 65 73 63 72 69 62 |..=.3;.{| describ|
|00002dd0| 65 73 20 61 20 22 57 49 | 54 48 22 20 6c 6f 67 69 |es a "WI|TH" logi|
|00002de0| 63 61 6c 20 61 64 64 72 | 65 73 73 09 7d 0d 0d 49 |cal addr|ess.}..I|
|00002df0| 66 20 61 20 76 61 72 69 | 61 62 6c 65 27 73 20 6b |f a vari|able's k|
|00002e00| 69 6e 64 20 69 73 20 53 | 54 4f 52 41 47 45 5f 4b |ind is S|TORAGE_K|
|00002e10| 49 4e 44 5f 4c 4f 43 41 | 4c 20 69 74 20 69 73 20 |IND_LOCA|L it is |
|00002e20| 61 20 73 69 6d 70 6c 65 | 20 6c 6f 63 61 6c 20 76 |a simple| local v|
|00002e30| 61 72 69 61 62 6c 65 20 | 28 70 72 6f 62 61 62 6c |ariable |(probabl|
|00002e40| 79 20 41 36 2d 72 65 6c | 61 74 69 76 65 20 6f 72 |y A6-rel|ative or|
|00002e50| 20 73 74 61 74 69 63 29 | 3b 20 6c 69 6b 65 77 69 | static)|; likewi|
|00002e60| 73 65 2c 20 69 66 20 61 | 20 76 61 72 69 61 62 6c |se, if a| variabl|
|00002e70| 65 27 73 20 6b 69 6e 64 | 20 69 73 20 53 54 4f 52 |e's kind| is STOR|
|00002e80| 41 47 45 5f 4b 49 4e 44 | 5f 56 41 4c 55 45 2c 20 |AGE_KIND|_VALUE, |
|00002e90| 69 74 20 69 73 20 61 20 | 63 61 6c 6c 2d 62 79 2d |it is a |call-by-|
|00002ea0| 76 61 6c 75 65 20 70 72 | 6f 63 65 64 75 72 65 20 |value pr|ocedure |
|00002eb0| 6f 72 20 66 75 6e 63 74 | 69 6f 6e 20 70 61 72 61 |or funct|ion para|
|00002ec0| 6d 65 74 65 72 3b 20 69 | 6e 20 61 6e 79 20 63 61 |meter; i|n any ca|
|00002ed0| 73 65 20 74 68 65 20 76 | 61 72 69 61 62 6c 65 20 |se the v|ariable |
|00002ee0| 69 73 20 61 74 20 74 68 | 65 20 61 64 64 72 65 73 |is at th|e addres|
|00002ef0| 73 20 64 65 74 65 72 6d | 69 6e 65 64 20 62 79 20 |s determ|ined by |
|00002f00| 74 68 65 20 73 63 61 5f | 63 6c 61 73 73 20 66 69 |the sca_|class fi|
|00002f10| 65 6c 64 2e 0d 49 66 20 | 61 20 76 61 72 69 61 62 |eld..If |a variab|
|00002f20| 6c 65 27 73 20 6b 69 6e | 64 20 69 73 20 53 54 4f |le's kin|d is STO|
|00002f30| 52 41 47 45 5f 4b 49 4e | 44 5f 52 45 46 45 52 45 |RAGE_KIN|D_REFERE|
|00002f40| 4e 43 45 2c 20 74 68 65 | 20 76 61 6c 75 65 20 61 |NCE, the| value a|
|00002f50| 74 20 74 68 65 20 61 64 | 64 72 65 73 73 20 64 65 |t the ad|dress de|
|00002f60| 74 65 72 6d 69 6e 65 64 | 20 62 79 20 74 68 65 20 |termined| by the |
|00002f70| 73 63 61 5f 63 6c 61 73 | 73 20 28 73 65 65 20 62 |sca_clas|s (see b|
|00002f80| 65 6c 6f 77 29 20 69 73 | 20 61 20 70 6f 69 6e 74 |elow) is| a point|
|00002f90| 65 72 20 74 6f 20 74 68 | 65 20 61 63 74 75 61 6c |er to th|e actual|
|00002fa0| 20 76 61 6c 75 65 2e 0d | 49 66 20 61 20 76 61 72 | value..|If a var|
|00002fb0| 69 61 62 6c 65 27 73 20 | 6b 69 6e 64 20 69 73 20 |iable's |kind is |
|00002fc0| 53 54 4f 52 41 47 45 5f | 4b 49 4e 44 5f 57 49 54 |STORAGE_|KIND_WIT|
|00002fd0| 48 2c 20 74 68 65 20 64 | 65 62 75 67 67 65 72 20 |H, the d|ebugger |
|00002fe0| 75 73 65 73 20 74 68 65 | 20 76 61 72 69 61 62 6c |uses the| variabl|
|00002ff0| 65 27 73 20 74 79 70 65 | 20 69 6e 66 6f 72 6d 61 |e's type| informa|
|00003000| 74 69 6f 6e 20 74 6f 20 | 63 6f 6e 73 74 72 75 63 |tion to |construc|
|00003010| 74 20 6c 6f 67 69 63 61 | 6c 20 61 64 64 72 65 73 |t logica|l addres|
|00003020| 73 65 73 20 74 6f 20 6e | 61 6d 65 64 20 66 69 65 |ses to n|amed fie|
|00003030| 6c 64 73 20 69 6e 20 74 | 68 65 20 74 79 70 65 2e |lds in t|he type.|
|00003040| 20 20 54 68 61 74 20 69 | 73 2c 20 6e 61 6d 65 64 | That i|s, named|
|00003050| 20 66 69 65 6c 64 73 20 | 69 6e 20 74 68 65 20 76 | fields |in the v|
|00003060| 61 72 69 61 62 6c 65 27 | 73 20 74 79 70 65 20 61 |ariable'|s type a|
|00003070| 72 65 20 74 72 65 61 74 | 65 64 20 61 73 20 76 61 |re treat|ed as va|
|00003080| 72 69 61 62 6c 65 73 20 | 74 68 65 6d 73 65 6c 76 |riables |themselv|
|00003090| 65 73 2e 0d 54 68 65 20 | 73 63 61 5f 63 6c 61 73 |es..The |sca_clas|
|000030a0| 73 20 66 69 65 6c 64 20 | 64 65 73 63 72 69 62 65 |s field |describe|
|000030b0| 73 20 68 6f 77 20 74 6f | 20 6f 62 74 61 69 6e 20 |s how to| obtain |
|000030c0| 61 20 62 61 73 65 20 61 | 64 64 72 65 73 73 20 66 |a base a|ddress f|
|000030d0| 6f 72 20 74 68 65 20 76 | 61 72 69 61 62 6c 65 2c |or the v|ariable,|
|000030e0| 20 61 6e 64 20 74 61 6b | 65 73 20 6f 6e 20 6f 6e | and tak|es on on|
|000030f0| 65 20 6f 66 20 74 68 65 | 20 66 6f 6c 6c 6f 77 69 |e of the| followi|
|00003100| 6e 67 20 76 61 6c 75 65 | 73 3a 0d 43 4f 4e 53 54 |ng value|s:.CONST|
|00003110| 0d 09 53 54 4f 52 41 47 | 45 5f 43 4c 41 53 53 5f |..STORAG|E_CLASS_|
|00003120| 52 45 47 49 53 54 45 52 | 09 09 3d 09 30 3b 09 09 |REGISTER|..=.0;..|
|00003130| 7b 20 76 61 6c 75 65 20 | 69 73 20 69 6e 20 61 20 |{ value |is in a |
|00003140| 72 65 67 69 73 74 65 72 | 09 09 09 7d 0d 09 53 54 |register|...}..ST|
|00003150| 4f 52 41 47 45 5f 43 4c | 41 53 53 5f 41 35 09 09 |ORAGE_CL|ASS_A5..|
|00003160| 09 09 3d 09 31 3b 09 09 | 7b 20 72 65 6c 61 74 69 |..=.1;..|{ relati|
|00003170| 76 65 20 74 6f 20 41 35 | 09 09 09 09 09 09 7d 0d |ve to A5|......}.|
|00003180| 09 53 54 4f 52 41 47 45 | 5f 43 4c 41 53 53 5f 41 |.STORAGE|_CLASS_A|
|00003190| 36 09 09 09 09 3d 09 32 | 3b 09 09 7b 20 72 65 6c |6....=.2|;..{ rel|
|000031a0| 61 74 69 76 65 20 74 6f | 20 41 36 09 09 09 09 09 |ative to| A6.....|
|000031b0| 09 7d 0d 09 53 54 4f 52 | 41 47 45 5f 43 4c 41 53 |.}..STOR|AGE_CLAS|
|000031c0| 53 5f 41 37 09 09 09 09 | 3d 09 33 3b 09 09 7b 20 |S_A7....|=.3;..{ |
|000031d0| 72 65 6c 61 74 69 76 65 | 20 74 6f 20 41 37 09 09 |relative| to A7..|
|000031e0| 09 09 09 09 7d 0d 09 53 | 54 4f 52 41 47 45 5f 43 |....}..S|TORAGE_C|
|000031f0| 4c 41 53 53 5f 41 42 53 | 4f 4c 55 54 45 09 09 3d |LASS_ABS|OLUTE..=|
|00003200| 09 34 3b 09 09 7b 20 72 | 65 6c 61 74 69 76 65 20 |.4;..{ r|elative |
|00003210| 74 6f 20 6c 6f 63 61 74 | 69 6f 6e 20 7a 65 72 6f |to locat|ion zero|
|00003220| 09 09 7d 0d 09 53 54 4f | 52 41 47 45 5f 43 4c 41 |..}..STO|RAGE_CLA|
|00003230| 53 53 5f 43 4f 4e 53 54 | 41 4e 54 09 09 3d 09 35 |SS_CONST|ANT..=.5|
|00003240| 3b 09 09 7b 20 74 68 69 | 73 20 69 73 20 74 68 65 |;..{ thi|s is the|
|00003250| 20 76 61 6c 75 65 20 69 | 74 73 65 6c 66 09 09 09 | value i|tself...|
|00003260| 7d 0d 09 53 54 4f 52 41 | 47 45 5f 43 4c 41 53 53 |}..STORA|GE_CLASS|
|00003270| 5f 42 49 47 43 4f 4e 53 | 54 41 4e 54 09 3d 09 36 |_BIGCONS|TANT.=.6|
|00003280| 3b 09 09 7b 20 43 4f 4e | 53 54 20 70 6f 6f 6c 20 |;..{ CON|ST pool |
|00003290| 69 6e 64 65 78 20 6f 66 | 20 74 68 65 20 76 61 6c |index of| the val|
|000032a0| 75 65 09 7d 0d 09 53 54 | 4f 52 41 47 45 5f 43 4c |ue.}..ST|ORAGE_CL|
|000032b0| 41 53 53 5f 52 45 53 4f | 55 52 43 45 09 09 3d 09 |ASS_RESO|URCE..=.|
|000032c0| 39 39 3b 09 7b 20 74 68 | 65 20 52 54 45 20 69 6e |99;.{ th|e RTE in|
|000032d0| 64 65 78 20 6f 66 20 61 | 20 72 65 73 6f 75 72 63 |dex of a| resourc|
|000032e0| 65 09 09 7d 0d 0d 54 68 | 65 20 73 63 61 5f 6f 66 |e..}..Th|e sca_of|
|000032f0| 66 73 65 74 20 66 69 65 | 6c 64 20 63 6f 6e 74 61 |fset fie|ld conta|
|00003300| 69 6e 73 20 74 68 65 20 | 6f 66 66 73 65 74 20 6f |ins the |offset o|
|00003310| 66 20 74 68 65 20 76 61 | 72 69 61 62 6c 65 20 66 |f the va|riable f|
|00003320| 72 6f 6d 20 74 68 65 20 | 62 61 73 65 20 61 64 64 |rom the |base add|
|00003330| 72 65 73 73 2e 20 20 46 | 6f 72 20 72 65 67 69 73 |ress. F|or regis|
|00003340| 74 65 72 73 2c 20 69 74 | 20 69 6e 64 69 63 61 74 |ters, it| indicat|
|00003350| 65 73 20 74 68 65 20 72 | 65 67 69 73 74 65 72 20 |es the r|egister |
|00003360| 6e 75 6d 62 65 72 20 28 | 73 65 65 20 74 68 65 20 |number (|see the |
|00003370| 4f 4d 46 20 64 6f 63 75 | 6d 65 6e 74 20 66 6f 72 |OMF docu|ment for|
|00003380| 20 69 6e 66 6f 72 6d 61 | 74 69 6f 6e 20 6f 6e 20 | informa|tion on |
|00003390| 72 65 67 69 73 74 65 72 | 20 6e 75 6d 62 65 72 73 |register| numbers|
|000033a0| 29 2e 20 20 46 6f 72 20 | 67 6c 6f 62 61 6c 20 76 |). For |global v|
|000033b0| 61 72 69 61 62 6c 65 73 | 20 61 6e 64 20 6c 6f 63 |ariables| and loc|
|000033c0| 61 6c 20 76 61 72 69 61 | 62 6c 65 73 20 6f 6e 20 |al varia|bles on |
|000033d0| 61 20 73 74 61 63 6b 20 | 66 72 61 6d 65 20 74 68 |a stack |frame th|
|000033e0| 65 20 6f 66 66 73 65 74 | 20 66 69 65 6c 64 20 73 |e offset| field s|
|000033f0| 70 65 63 69 66 69 65 73 | 20 61 6e 20 6f 66 66 73 |pecifies| an offs|
|00003400| 65 74 20 66 72 6f 6d 20 | 61 6e 20 61 64 64 72 65 |et from |an addre|
|00003410| 73 73 20 72 65 67 69 73 | 74 65 72 2e 20 20 46 6f |ss regis|ter. Fo|
|00003420| 72 20 73 6d 61 6c 6c 20 | 63 6f 6e 73 74 61 6e 74 |r small |constant|
|00003430| 73 2c 20 74 68 65 20 69 | 74 20 69 73 20 74 68 65 |s, the i|t is the|
|00003440| 20 63 6f 6e 73 74 61 6e | 74 20 76 61 6c 75 65 20 | constan|t value |
|00003450| 69 74 73 65 6c 66 2e 20 | 20 46 6f 72 20 62 69 67 |itself. | For big|
|00003460| 20 63 6f 6e 73 74 61 6e | 74 73 20 69 74 20 69 73 | constan|ts it is|
|00003470| 20 74 68 65 20 43 4f 4e | 53 54 20 70 6f 6f 6c 20 | the CON|ST pool |
|00003480| 69 6e 64 65 78 20 6f 66 | 20 74 68 65 20 63 6f 6e |index of| the con|
|00003490| 73 74 61 6e 74 2e 0d 46 | 6f 72 20 53 54 4f 52 41 |stant..F|or STORA|
|000034a0| 47 45 5f 43 4c 41 53 53 | 5f 52 45 53 4f 55 52 43 |GE_CLASS|_RESOURC|
|000034b0| 45 20 74 68 65 20 73 63 | 61 5f 6f 66 66 73 65 74 |E the sc|a_offset|
|000034c0| 20 66 69 65 6c 64 20 69 | 73 20 74 68 65 20 52 54 | field i|s the RT|
|000034d0| 45 20 69 6e 64 65 78 20 | 6f 66 20 61 20 72 65 73 |E index |of a res|
|000034e0| 6f 75 72 63 65 20 74 68 | 61 74 20 61 63 74 75 61 |ource th|at actua|
|000034f0| 6c 6c 79 20 68 6f 6c 64 | 73 20 74 68 65 20 64 61 |lly hold|s the da|
|00003500| 74 61 2e 20 20 48 6f 77 | 65 76 65 72 2c 20 53 54 |ta. How|ever, ST|
|00003510| 4f 52 41 47 45 5f 43 4c | 41 53 53 5f 52 45 53 4f |ORAGE_CL|ASS_RESO|
|00003520| 55 52 43 45 20 69 73 20 | 6e 6f 74 20 63 75 72 72 |URCE is |not curr|
|00003530| 65 6e 74 6c 79 20 73 75 | 70 70 6f 72 74 65 64 20 |ently su|pported |
|00003540| 62 79 20 61 6e 79 20 4d | 50 57 20 6c 61 6e 67 75 |by any M|PW langu|
|00003550| 61 67 65 20 70 72 6f 63 | 65 73 73 6f 72 73 2c 20 |age proc|essors, |
|00003560| 74 68 65 20 6c 69 6e 6b | 65 72 20 6f 72 20 74 68 |the link|er or th|
|00003570| 65 20 4f 4d 46 20 28 69 | 74 27 73 20 6f 6e 6c 79 |e OMF (i|t's only|
|00003580| 20 6d 65 6e 74 69 6f 6e | 65 64 20 68 65 72 65 20 | mention|ed here |
|00003590| 66 6f 72 20 63 6f 6d 70 | 6c 65 74 65 6e 65 73 73 |for comp|leteness|
|000035a0| 29 2e 0d 43 6f 6e 73 74 | 61 6e 74 73 20 74 68 61 |)..Const|ants tha|
|000035b0| 74 20 44 69 73 74 69 6e | 67 75 69 73 68 20 56 61 |t Distin|guish Va|
|000035c0| 72 69 61 6e 74 73 0d 54 | 68 65 73 65 20 63 6f 6e |riants.T|hese con|
|000035d0| 73 74 61 6e 74 73 20 61 | 72 65 20 75 73 65 64 20 |stants a|re used |
|000035e0| 74 6f 20 69 64 65 6e 74 | 69 66 79 20 76 61 72 69 |to ident|ify vari|
|000035f0| 61 6e 74 73 20 69 6e 20 | 6c 69 73 74 73 20 6f 66 |ants in |lists of|
|00003600| 20 74 61 62 6c 65 20 65 | 6e 74 72 69 65 73 2e 20 | table e|ntries. |
|00003610| 20 28 54 61 62 6c 65 73 | 20 63 6f 6e 74 61 69 6e | (Tables| contain|
|00003620| 69 6e 67 20 76 61 72 69 | 61 6e 74 20 72 65 63 6f |ing vari|ant reco|
|00003630| 72 64 73 20 61 72 65 20 | 43 4d 54 45 2c 20 43 56 |rds are |CMTE, CV|
|00003640| 54 45 2c 20 43 53 4e 54 | 45 2c 20 43 4c 54 45 2c |TE, CSNT|E, CLTE,|
|00003650| 20 43 54 54 45 2c 20 46 | 52 54 45 2c 20 61 6e 64 | CTTE, F|RTE, and|
|00003660| 20 46 49 54 45 2e 29 20 | 54 68 65 20 66 69 72 73 | FITE.) |The firs|
|00003670| 74 20 66 69 65 6c 64 20 | 69 6e 20 74 68 65 20 74 |t field |in the t|
|00003680| 61 62 6c 65 20 65 6e 74 | 72 79 20 69 73 20 61 20 |able ent|ry is a |
|00003690| 33 32 2d 62 69 74 20 69 | 6e 74 65 67 65 72 2c 20 |32-bit i|nteger, |
|000036a0| 77 68 69 63 68 20 6d 61 | 79 20 74 61 6b 65 20 6f |which ma|y take o|
|000036b0| 6e 20 6f 6e 65 20 6f 66 | 20 74 68 65 20 66 6f 6c |n one of| the fol|
|000036c0| 6c 6f 77 69 6e 67 20 76 | 61 6c 75 65 73 3a 0d 43 |lowing v|alues:.C|
|000036d0| 4f 4e 53 54 0d 09 45 4e | 44 5f 4f 46 5f 4c 49 53 |ONST..EN|D_OF_LIS|
|000036e0| 54 09 09 09 09 3d 09 24 | 46 46 46 46 46 46 46 46 |T....=.$|FFFFFFFF|
|000036f0| 3b 09 7b 20 65 6e 64 20 | 6f 66 20 74 68 65 20 6c |;.{ end |of the l|
|00003700| 69 73 74 09 09 09 09 09 | 7d 0d 09 46 49 4c 45 5f |ist.....|}..FILE_|
|00003710| 4e 41 4d 45 5f 49 4e 44 | 45 58 09 09 3d 09 24 46 |NAME_IND|EX..=.$F|
|00003720| 46 46 46 46 46 46 45 3b | 09 7b 20 69 6e 64 69 63 |FFFFFFE;|.{ indic|
|00003730| 61 74 65 73 20 61 20 66 | 69 6c 65 20 6e 61 6d 65 |ates a f|ile name|
|00003740| 09 09 09 7d 0d 09 53 4f | 55 52 43 45 5f 46 49 4c |...}..SO|URCE_FIL|
|00003750| 45 5f 43 48 41 4e 47 45 | 09 3d 09 24 46 46 46 46 |E_CHANGE|.=.$FFFF|
|00003760| 46 46 46 45 3b 09 7b 20 | 69 6e 64 69 63 61 74 65 |FFFE;.{ |indicate|
|00003770| 73 20 6e 65 77 20 73 6f | 75 72 63 65 20 66 69 6c |s new so|urce fil|
|00003780| 65 09 7d 0d 09 7b 09 61 | 6e 79 74 68 69 6e 67 20 |e.}..{.a|nything |
|00003790| 65 6c 73 65 09 7d 09 09 | 7b 20 74 79 70 69 63 61 |else.}..|{ typica|
|000037a0| 6c 6c 79 20 61 20 74 61 | 62 6c 65 20 69 6e 64 65 |lly a ta|ble inde|
|000037b0| 78 09 7d 0d 0d 53 69 6e | 63 65 20 74 68 69 73 20 |x.}..Sin|ce this |
|000037c0| 64 6f 63 75 6d 65 6e 74 | 20 75 73 65 73 20 50 61 |document| uses Pa|
|000037d0| 73 63 61 6c 20 73 79 6e | 74 61 78 20 66 6f 72 20 |scal syn|tax for |
|000037e0| 72 65 63 6f 72 64 20 64 | 65 63 6c 61 72 61 74 69 |record d|eclarati|
|000037f0| 6f 6e 73 2c 20 64 75 6d | 6d 79 20 63 6f 6e 73 74 |ons, dum|my const|
|00003800| 61 6e 74 73 20 61 72 65 | 20 75 73 65 64 20 74 6f |ants are| used to|
|00003810| 20 64 69 73 74 69 6e 67 | 75 69 73 68 20 74 68 65 | disting|uish the|
|00003820| 20 76 61 72 69 61 6e 74 | 20 69 6e 20 74 68 65 20 | variant| in the |
|00003830| 72 65 63 6f 72 64 20 64 | 65 63 6c 61 72 61 74 69 |record d|eclarati|
|00003840| 6f 6e 2e 20 20 44 6f 6e | 27 74 20 62 65 20 6d 69 |on. Don|'t be mi|
|00003850| 73 6c 65 61 64 20 d1 20 | 74 68 65 20 64 75 6d 6d |slead . |the dumm|
|00003860| 79 27 73 20 61 63 74 75 | 61 6c 20 76 61 6c 75 65 |y's actu|al value|
|00003870| 20 64 6f 65 73 20 6e 6f | 74 20 6d 61 74 74 65 72 | does no|t matter|
|00003880| 2c 20 61 6e 64 20 69 6e | 20 66 61 63 74 20 74 68 |, and in| fact th|
|00003890| 69 73 20 73 63 68 6d 75 | 74 7a 20 64 6f 65 73 20 |is schmu|tz does |
|000038a0| 6e 6f 74 20 61 70 70 65 | 61 72 20 69 6e 20 74 68 |not appe|ar in th|
|000038b0| 65 20 43 20 76 65 72 73 | 69 6f 6e 20 6f 66 20 74 |e C vers|ion of t|
|000038c0| 68 65 20 44 65 62 75 67 | 44 61 74 61 54 79 70 65 |he Debug|DataType|
|000038d0| 73 20 68 65 61 64 65 72 | 20 66 69 6c 65 2e 0d 54 |s header| file..T|
|000038e0| 68 65 20 46 69 6c 65 20 | 52 65 66 65 72 65 6e 63 |he File |Referenc|
|000038f0| 65 20 28 46 52 45 46 29 | 20 52 65 63 6f 72 64 0d |e (FREF)| Record.|
|00003900| 41 20 66 69 6c 65 20 72 | 65 66 65 72 65 6e 63 65 |A file r|eference|
|00003910| 20 64 65 73 63 72 69 62 | 65 73 20 61 20 73 6f 75 | describ|es a sou|
|00003920| 72 63 65 20 66 69 6c 65 | 20 6c 6f 63 61 74 69 6f |rce file| locatio|
|00003930| 6e 2e 20 20 54 68 65 20 | 66 69 65 6c 64 73 20 61 |n. The |fields a|
|00003940| 72 65 3a 0d 46 49 4c 45 | 5f 52 45 46 45 52 45 4e |re:.FILE|_REFEREN|
|00003950| 43 45 20 3d 20 52 45 43 | 4f 52 44 0d 09 66 72 65 |CE = REC|ORD..fre|
|00003960| 66 5f 66 72 74 65 5f 69 | 6e 64 65 78 3a 09 4c 4f |f_frte_i|ndex:.LO|
|00003970| 4e 47 49 4e 54 3b 09 7b | 20 46 69 6c 65 20 52 65 |NGINT;.{| File Re|
|00003980| 66 65 72 65 6e 63 65 20 | 54 61 62 6c 65 20 69 6e |ference |Table in|
|00003990| 64 65 78 20 09 09 09 09 | 7d 0d 09 66 72 65 66 5f |dex ....|}..fref_|
|000039a0| 6f 66 66 73 65 74 3a 09 | 09 4c 4f 4e 47 49 4e 54 |offset:.|.LONGINT|
|000039b0| 3b 09 09 7b 20 61 62 73 | 6f 6c 75 74 65 20 6f 66 |;..{ abs|olute of|
|000039c0| 66 73 65 74 20 69 6e 74 | 6f 20 74 68 65 20 73 6f |fset int|o the so|
|000039d0| 75 72 63 65 20 66 69 6c | 65 09 7d 0d 45 4e 44 3b |urce fil|e.}.END;|
|000039e0| 0d 54 68 65 20 66 72 65 | 66 5f 66 72 74 65 5f 69 |.The fre|f_frte_i|
|000039f0| 6e 64 65 78 20 66 69 65 | 6c 64 20 63 6f 6e 74 61 |ndex fie|ld conta|
|00003a00| 69 6e 73 20 74 68 65 20 | 69 6e 64 65 78 20 6f 66 |ins the |index of|
|00003a10| 20 61 20 46 52 54 45 20 | 74 68 61 74 20 69 73 20 | a FRTE |that is |
|00003a20| 61 20 46 49 4c 45 5f 4e | 41 4d 45 5f 49 4e 44 45 |a FILE_N|AME_INDE|
|00003a30| 58 20 76 61 72 69 61 6e | 74 2c 20 66 72 6f 6d 20 |X varian|t, from |
|00003a40| 77 68 69 63 68 20 63 61 | 6e 20 62 65 20 65 78 74 |which ca|n be ext|
|00003a50| 72 61 63 74 65 64 20 74 | 68 65 20 73 6f 75 72 63 |racted t|he sourc|
|00003a60| 65 20 66 69 6c 65 27 73 | 20 6e 61 6d 65 20 61 6e |e file's| name an|
|00003a70| 64 20 6d 6f 64 69 66 69 | 63 61 74 69 6f 6e 20 64 |d modifi|cation d|
|00003a80| 61 74 65 20 28 73 65 65 | 20 74 68 65 20 46 52 54 |ate (see| the FRT|
|00003a90| 45 20 64 65 66 69 6e 69 | 74 69 6f 6e 20 62 65 6c |E defini|tion bel|
|00003aa0| 6f 77 29 2e 20 20 49 66 | 20 74 68 65 20 66 72 65 |ow). If| the fre|
|00003ab0| 66 5f 66 72 74 65 5f 69 | 6e 64 65 78 20 66 69 65 |f_frte_i|ndex fie|
|00003ac0| 6c 64 20 69 73 20 7a 65 | 72 6f 2c 20 74 68 65 72 |ld is ze|ro, ther|
|00003ad0| 65 20 69 73 20 6e 6f 20 | 73 6f 75 72 63 65 20 66 |e is no |source f|
|00003ae0| 69 6c 65 20 28 62 65 63 | 61 75 73 65 20 61 20 74 |ile (bec|ause a t|
|00003af0| 61 62 6c 65 20 69 6e 64 | 65 78 20 6f 66 20 7a 65 |able ind|ex of ze|
|00003b00| 72 6f 20 69 73 20 61 20 | 64 75 6d 6d 79 29 2e 0d |ro is a |dummy)..|
|00003b10| 54 68 65 20 66 72 65 66 | 5f 6f 66 66 73 65 74 20 |The fref|_offset |
|00003b20| 66 69 65 6c 64 20 63 6f | 6e 74 61 69 6e 73 20 61 |field co|ntains a|
|00003b30| 6e 20 6f 66 66 73 65 74 | 20 69 6e 74 6f 20 74 68 |n offset| into th|
|00003b40| 65 20 73 6f 75 72 63 65 | 20 66 69 6c 65 2e 0d 53 |e source| file..S|
|00003b50| 79 6d 20 46 69 6c 65 20 | 4c 61 79 6f 75 74 0d 41 |ym File |Layout.A|
|00003b60| 20 53 79 6d 20 66 69 6c | 65 20 69 73 20 6f 72 67 | Sym fil|e is org|
|00003b70| 61 6e 69 7a 65 64 20 69 | 6e 74 6f 20 74 61 62 6c |anized i|nto tabl|
|00003b80| 65 73 3b 20 65 61 63 68 | 20 74 61 62 6c 65 20 69 |es; each| table i|
|00003b90| 73 20 6d 61 64 65 20 75 | 70 20 6f 66 20 70 61 67 |s made u|p of pag|
|00003ba0| 65 73 2e 20 20 45 78 63 | 65 70 74 20 66 6f 72 20 |es. Exc|ept for |
|00003bb0| 74 68 65 20 44 53 48 42 | 20 28 77 68 69 63 68 20 |the DSHB| (which |
|00003bc0| 6f 63 63 75 70 69 65 73 | 20 74 68 65 20 66 69 72 |occupies| the fir|
|00003bd0| 73 74 20 70 61 67 65 29 | 20 74 68 65 20 74 61 62 |st page)| the tab|
|00003be0| 6c 65 73 20 6d 61 79 20 | 61 70 70 65 61 72 20 69 |les may |appear i|
|00003bf0| 6e 20 61 6e 79 20 6f 72 | 64 65 72 2e 20 20 54 68 |n any or|der. Th|
|00003c00| 65 20 6c 6f 63 61 74 69 | 6f 6e 20 61 6e 64 20 73 |e locati|on and s|
|00003c10| 69 7a 65 20 6f 66 20 65 | 61 63 68 20 74 61 62 6c |ize of e|ach tabl|
|00003c20| 65 20 69 73 20 73 70 65 | 63 69 66 69 65 64 20 62 |e is spe|cified b|
|00003c30| 79 20 74 68 65 20 44 53 | 48 42 2e 0d 54 68 65 20 |y the DS|HB..The |
|00003c40| 70 61 67 65 20 73 69 7a | 65 20 69 73 20 61 6c 73 |page siz|e is als|
|00003c50| 6f 20 73 70 65 63 69 66 | 69 65 64 20 62 79 20 74 |o specif|ied by t|
|00003c60| 68 65 20 44 53 48 42 2e | 20 20 54 68 65 20 6c 69 |he DSHB.| The li|
|00003c70| 6e 6b 65 72 20 65 6e 66 | 6f 72 63 65 73 20 61 20 |nker enf|orces a |
|00003c80| 6d 69 6e 69 6d 75 6d 20 | 70 61 67 65 20 73 69 7a |minimum |page siz|
|00003c90| 65 20 6f 66 20 31 4b 3b | 20 69 74 20 63 75 72 72 |e of 1K;| it curr|
|00003ca0| 65 6e 74 6c 79 20 77 72 | 69 74 65 73 20 32 4b 20 |ently wr|ites 2K |
|00003cb0| 70 61 67 65 73 2e 20 20 | 54 68 65 20 74 61 62 6c |pages. |The tabl|
|00003cc0| 65 20 65 6e 74 72 69 65 | 73 20 63 6f 6e 74 61 69 |e entrie|s contai|
|00003cd0| 6e 65 64 20 77 69 74 68 | 69 6e 20 70 61 67 65 73 |ned with|in pages|
|00003ce0| 20 63 61 6e 6e 6f 74 20 | 63 72 6f 73 73 20 70 61 | cannot |cross pa|
|00003cf0| 67 65 20 62 6f 75 6e 64 | 61 72 69 65 73 2e 20 28 |ge bound|aries. (|
|00003d00| 45 58 43 45 50 54 49 4f | 4e 3a 20 74 68 65 20 65 |EXCEPTIO|N: the e|
|00003d10| 6e 74 72 69 65 73 20 69 | 6e 20 74 68 65 20 4e 61 |ntries i|n the Na|
|00003d20| 6d 65 20 54 61 62 6c 65 | 20 5b 4e 54 45 5d 20 63 |me Table| [NTE] c|
|00003d30| 61 6e 20 63 72 6f 73 73 | 20 70 61 67 65 20 62 6f |an cross| page bo|
|00003d40| 75 6e 64 61 72 69 65 73 | 2e 29 20 20 50 61 67 65 |undaries|.) Page|
|00003d50| 73 20 61 72 65 20 6e 75 | 6d 62 65 72 65 64 20 66 |s are nu|mbered f|
|00003d60| 72 6f 6d 20 7a 65 72 6f | 2e 0d 54 68 65 20 53 79 |rom zero|..The Sy|
|00003d70| 6d 20 66 69 6c 65 20 68 | 61 73 20 61 20 66 69 6c |m file h|as a fil|
|00003d80| 65 20 74 79 70 65 20 6f | 66 20 27 4d 50 53 59 27 |e type o|f 'MPSY'|
|00003d90| 2e 20 20 54 68 65 20 6e | 61 6d 65 20 6f 66 20 74 |. The n|ame of t|
|00003da0| 68 65 20 53 79 6d 20 66 | 69 6c 65 20 69 73 20 6e |he Sym f|ile is n|
|00003db0| 6f 72 6d 61 6c 6c 79 20 | 74 68 61 74 20 6f 66 20 |ormally |that of |
|00003dc0| 74 68 65 20 65 78 65 63 | 75 74 61 62 6c 65 2c 20 |the exec|utable, |
|00003dd0| 77 69 74 68 20 74 68 65 | 20 65 78 74 65 6e 73 69 |with the| extensi|
|00003de0| 6f 6e 20 22 2e 53 79 6d | 22 2e 0d 54 68 65 20 44 |on ".Sym|"..The D|
|00003df0| 69 73 6b 20 54 61 62 6c | 65 20 49 6e 66 6f 20 28 |isk Tabl|e Info (|
|00003e00| 44 54 49 29 20 52 65 63 | 6f 72 64 0d 44 49 53 4b |DTI) Rec|ord.DISK|
|00003e10| 5f 54 41 42 4c 45 5f 49 | 4e 46 4f 20 28 44 54 49 |_TABLE_I|NFO (DTI|
|00003e20| 29 20 72 65 63 6f 72 64 | 73 20 61 70 70 65 61 72 |) record|s appear|
|00003e30| 20 6f 6e 6c 79 20 77 69 | 74 68 69 6e 20 74 68 65 | only wi|thin the|
|00003e40| 20 44 53 48 42 2e 20 20 | 54 68 65 79 20 64 65 73 | DSHB. |They des|
|00003e50| 63 72 69 62 65 20 74 68 | 65 20 6c 6f 63 61 74 69 |cribe th|e locati|
|00003e60| 6f 6e 20 61 6e 64 20 73 | 69 7a 65 20 28 69 6e 20 |on and s|ize (in |
|00003e70| 70 61 67 65 73 29 20 6f | 66 20 74 61 62 6c 65 73 |pages) o|f tables|
|00003e80| 20 77 69 74 68 69 6e 20 | 74 68 65 20 53 79 6d 20 | within |the Sym |
|00003e90| 66 69 6c 65 2e 20 20 54 | 68 65 20 44 54 49 20 66 |file. T|he DTI f|
|00003ea0| 69 65 6c 64 73 20 61 72 | 65 3a 0d 44 49 53 4b 5f |ields ar|e:.DISK_|
|00003eb0| 54 41 42 4c 45 5f 49 4e | 46 4f 20 3d 20 52 45 43 |TABLE_IN|FO = REC|
|00003ec0| 4f 52 44 0d 09 64 74 69 | 5f 66 69 72 73 74 5f 70 |ORD..dti|_first_p|
|00003ed0| 61 67 65 3a 09 4c 4f 4e | 47 49 4e 54 3b 09 7b 20 |age:.LON|GINT;.{ |
|00003ee0| 74 61 62 6c 65 27 73 20 | 66 69 72 73 74 20 70 61 |table's |first pa|
|00003ef0| 67 65 20 09 09 7d 0d 09 | 64 74 69 5f 70 61 67 65 |ge ..}..|dti_page|
|00003f00| 5f 63 6f 75 6e 74 3a 09 | 4c 4f 4e 47 49 4e 54 3b |_count:.|LONGINT;|
|00003f10| 09 7b 20 23 20 70 61 67 | 65 73 20 69 6e 20 74 68 |.{ # pag|es in th|
|00003f20| 65 20 74 61 62 6c 65 09 | 09 7d 0d 09 64 74 69 5f |e table.|.}..dti_|
|00003f30| 6f 62 6a 65 63 74 5f 63 | 6f 75 6e 74 3a 09 4c 4f |object_c|ount:.LO|
|00003f40| 4e 47 49 4e 54 3b 09 09 | 7b 20 23 20 6f 62 6a 65 |NGINT;..|{ # obje|
|00003f50| 63 74 73 20 69 6e 20 74 | 68 65 20 74 61 62 6c 65 |cts in t|he table|
|00003f60| 09 7d 0d 45 4e 44 3b 0d | 54 68 65 20 64 74 69 5f |.}.END;.|The dti_|
|00003f70| 66 69 72 73 74 5f 70 61 | 67 65 20 66 69 65 6c 64 |first_pa|ge field|
|00003f80| 20 69 6e 64 69 63 61 74 | 65 73 20 74 68 65 20 66 | indicat|es the f|
|00003f90| 69 72 73 74 20 70 61 67 | 65 20 6f 66 20 74 68 65 |irst pag|e of the|
|00003fa0| 20 74 61 62 6c 65 2e 0d | 54 68 65 20 64 74 69 5f | table..|The dti_|
|00003fb0| 70 61 67 65 5f 63 6f 75 | 6e 74 20 66 69 65 6c 64 |page_cou|nt field|
|00003fc0| 20 69 6e 64 69 63 61 74 | 65 73 20 74 68 65 20 6e | indicat|es the n|
|00003fd0| 75 6d 62 65 72 20 6f 66 | 20 70 61 67 65 73 20 69 |umber of| pages i|
|00003fe0| 6e 20 74 68 65 20 74 61 | 62 6c 65 2e 0d 49 66 20 |n the ta|ble..If |
|00003ff0| 74 68 65 20 74 61 62 6c | 65 20 69 73 20 65 6d 70 |the tabl|e is emp|
|00004000| 74 79 2c 20 64 74 69 5f | 70 61 67 65 5f 63 6f 75 |ty, dti_|page_cou|
|00004010| 6e 74 20 69 73 20 7a 65 | 72 6f 20 61 6e 64 20 64 |nt is ze|ro and d|
|00004020| 74 69 5f 66 69 72 73 74 | 5f 70 61 67 65 20 69 73 |ti_first|_page is|
|00004030| 20 75 6e 70 72 65 64 69 | 63 74 61 62 6c 65 2e 0d | unpredi|ctable..|
|00004040| 54 68 65 20 64 74 69 5f | 6f 62 6a 65 63 74 5f 63 |The dti_|object_c|
|00004050| 6f 75 6e 74 20 66 69 65 | 6c 64 20 63 6f 6e 74 61 |ount fie|ld conta|
|00004060| 69 6e 73 20 74 68 65 20 | 6d 61 78 69 6d 75 6d 20 |ins the |maximum |
|00004070| 6c 65 67 61 6c 20 69 6e | 64 65 78 20 69 6e 74 6f |legal in|dex into|
|00004080| 20 74 68 65 20 74 61 62 | 6c 65 2e 20 20 4f 62 6a | the tab|le. Obj|
|00004090| 65 63 74 20 69 6e 64 69 | 63 65 73 20 72 61 6e 67 |ect indi|ces rang|
|000040a0| 65 20 66 72 6f 6d 20 30 | 20 74 6f 20 64 74 69 5f |e from 0| to dti_|
|000040b0| 6f 62 6a 65 63 74 5f 63 | 6f 75 6e 74 3b 20 74 68 |object_c|ount; th|
|000040c0| 65 20 30 74 68 20 65 6e | 74 72 79 20 69 73 20 61 |e 0th en|try is a|
|000040d0| 20 7a 65 72 6f 2d 66 69 | 6c 6c 65 64 20 64 75 6d | zero-fi|lled dum|
|000040e0| 6d 79 20 74 68 61 74 20 | 73 68 6f 75 6c 64 20 6e |my that |should n|
|000040f0| 65 76 65 72 20 62 65 20 | 61 63 63 65 73 73 65 64 |ever be |accessed|
|00004100| 2e 20 20 49 6e 20 6f 74 | 68 65 72 20 77 6f 72 64 |. In ot|her word|
|00004110| 73 2c 20 61 6e 20 6f 62 | 6a 65 63 74 20 20 69 6e |s, an ob|ject in|
|00004120| 64 65 78 20 6f 66 20 4b | 20 6d 65 61 6e 73 20 4b |dex of K| means K|
|00004130| 2c 20 6e 6f 74 20 4b 2d | 31 2e 0d 54 61 62 6c 65 |, not K-|1..Table|
|00004140| 73 20 61 72 65 20 69 6e | 64 65 78 65 64 20 69 6e |s are in|dexed in|
|00004150| 20 74 77 6f 20 77 61 79 | 73 3b 20 62 79 20 62 79 | two way|s; by by|
|00004160| 74 65 20 6f 66 66 73 65 | 74 20 28 61 20 33 32 2d |te offse|t (a 32-|
|00004170| 62 69 74 20 6e 75 6d 62 | 65 72 20 72 65 70 72 65 |bit numb|er repre|
|00004180| 73 65 6e 74 69 6e 67 20 | 65 69 74 68 65 72 20 74 |senting |either t|
|00004190| 68 65 20 61 62 73 6f 6c | 75 74 65 20 66 69 6c 65 |he absol|ute file|
|000041a0| 20 73 65 65 6b 20 70 6f | 73 69 74 69 6f 6e 20 6f | seek po|sition o|
|000041b0| 72 20 74 68 65 20 74 61 | 62 6c 65 2d 72 65 6c 61 |r the ta|ble-rela|
|000041c0| 74 69 76 65 20 73 65 65 | 6b 20 70 6f 73 69 74 69 |tive see|k positi|
|000041d0| 6f 6e 29 20 61 6e 64 20 | 62 79 20 74 61 62 6c 65 |on) and |by table|
|000041e0| 20 6f 62 6a 65 63 74 20 | 69 6e 64 65 78 20 28 61 | object |index (a|
|000041f0| 20 33 32 2d 62 69 74 20 | 6e 75 6d 62 65 72 20 74 | 32-bit |number t|
|00004200| 68 61 74 20 69 73 20 6d | 75 6c 74 69 70 6c 69 65 |hat is m|ultiplie|
|00004210| 64 20 62 79 20 74 68 65 | 20 22 73 69 7a 65 6f 66 |d by the| "sizeof|
|00004220| 22 20 61 20 74 61 62 6c | 65 20 65 6e 74 72 79 20 |" a tabl|e entry |
|00004230| 74 6f 20 79 69 65 6c 64 | 20 61 20 74 61 62 6c 65 |to yield| a table|
|00004240| 2d 72 65 6c 61 74 69 76 | 65 20 73 65 65 6b 20 70 |-relativ|e seek p|
|00004250| 6f 73 69 74 69 6f 6e 29 | 2e 20 20 48 65 72 65 20 |osition)|. Here |
|00004260| 69 73 20 61 20 6c 69 73 | 74 20 6f 66 20 74 61 62 |is a lis|t of tab|
|00004270| 6c 65 73 20 62 79 20 22 | 69 6e 64 65 78 20 66 6c |les by "|index fl|
|00004280| 61 76 6f 72 22 3a 0d 54 | 61 62 6c 65 73 20 57 68 |avor":.T|ables Wh|
|00004290| 65 72 65 20 74 68 65 20 | 49 6e 64 65 78 20 49 73 |ere the |Index Is|
|000042a0| 20 61 6e 20 4f 62 6a 65 | 63 74 20 4e 75 6d 62 65 | an Obje|ct Numbe|
|000042b0| 72 09 54 61 62 6c 65 73 | 20 57 68 65 72 65 20 74 |r.Tables| Where t|
|000042c0| 68 65 20 49 6e 64 65 78 | 20 49 73 20 61 20 22 53 |he Index| Is a "S|
|000042d0| 65 65 6b 20 50 6f 73 69 | 74 69 6f 6e 22 09 0d 46 |eek Posi|tion"..F|
|000042e0| 52 54 45 09 4e 54 45 20 | 28 6d 75 6c 74 69 70 6c |RTE.NTE |(multipl|
|000042f0| 79 20 69 6e 64 65 78 20 | 62 79 20 32 29 09 0d 43 |y index |by 2)..C|
|00004300| 4d 54 45 09 54 49 4e 46 | 4f 20 28 69 6e 64 65 78 |MTE.TINF|O (index|
|00004310| 20 69 73 20 66 69 6c 65 | 20 d1 20 6e 6f 74 20 74 | is file| . not t|
|00004320| 61 62 6c 65 20 d1 20 72 | 65 6c 61 74 69 76 65 29 |able . r|elative)|
|00004330| 09 0d 52 54 45 09 43 4f | 4e 53 54 20 28 69 6e 64 |..RTE.CO|NST (ind|
|00004340| 65 78 20 69 73 20 74 61 | 62 6c 65 2d 72 65 6c 61 |ex is ta|ble-rela|
|00004350| 74 69 76 65 29 09 0d 43 | 56 54 45 09 09 0d 4d 54 |tive)..C|VTE...MT|
|00004360| 45 09 09 0d 43 53 4e 54 | 45 09 09 0d 43 4c 54 45 |E...CSNT|E...CLTE|
|00004370| 09 09 0d 43 54 54 45 09 | 09 0d 54 54 45 09 09 0d |...CTTE.|..TTE...|
|00004380| 46 49 54 45 09 09 0d 0d | 4d 61 6e 79 20 74 61 62 |FITE....|Many tab|
|00004390| 6c 65 73 20 68 61 76 65 | 20 76 61 72 69 61 6e 74 |les have| variant|
|000043a0| 73 3b 20 74 68 65 20 66 | 69 72 73 74 20 77 6f 72 |s; the f|irst wor|
|000043b0| 64 20 6f 66 20 73 75 63 | 68 20 72 65 63 6f 72 64 |d of suc|h record|
|000043c0| 73 20 69 73 20 61 20 64 | 69 73 63 72 69 6d 69 6e |s is a d|iscrimin|
|000043d0| 61 74 6f 72 20 74 68 61 | 74 20 63 61 6e 20 62 65 |ator tha|t can be|
|000043e0| 20 61 20 6e 6f 72 6d 61 | 6c 20 74 61 62 6c 65 20 | a norma|l table |
|000043f0| 69 6e 64 65 78 2c 20 6f | 72 20 61 6e 20 22 6f 75 |index, o|r an "ou|
|00004400| 74 20 6f 66 20 62 61 6e | 64 22 20 63 6f 6e 73 74 |t of ban|d" const|
|00004410| 61 6e 74 20 73 75 63 68 | 20 61 73 20 45 4e 44 5f |ant such| as END_|
|00004420| 4f 46 5f 4c 49 53 54 20 | 6f 72 20 53 4f 55 52 43 |OF_LIST |or SOURC|
|00004430| 45 5f 46 49 4c 45 5f 43 | 48 41 4e 47 45 2e 20 20 |E_FILE_C|HANGE. |
|00004440| 46 6f 72 20 65 78 61 6d | 70 6c 65 2c 20 61 20 70 |For exam|ple, a p|
|00004450| 6f 72 74 69 6f 6e 20 6f | 66 20 74 68 65 20 46 52 |ortion o|f the FR|
|00004460| 54 45 20 6c 69 73 74 20 | 6d 69 67 68 74 20 6c 6f |TE list |might lo|
|00004470| 6f 6b 20 6c 69 6b 65 3a | 0d 44 61 74 61 09 50 69 |ok like:|.Data.Pi|
|00004480| 64 67 69 6e 20 46 52 54 | 45 20 44 65 73 63 72 69 |dgin FRT|E Descri|
|00004490| 70 74 69 6f 6e 09 0d 24 | 46 46 46 46 46 46 46 45 |ption..$|FFFFFFFE|
|000044a0| 2c 20 24 30 30 30 30 32 | 31 31 30 2c 20 24 38 30 |, $00002|110, $80|
|000044b0| 32 37 32 33 36 31 09 66 | 72 74 65 5f 6e 61 6d 65 |272361.f|rte_name|
|000044c0| 5f 65 6e 74 72 79 20 3d | 20 46 49 4c 45 5f 4e 41 |_entry =| FILE_NA|
|000044d0| 4d 45 5f 49 4e 44 45 58 | 2c 0d 66 72 74 65 5f 6e |ME_INDEX|,.frte_n|
|000044e0| 74 65 5f 69 6e 64 65 78 | 20 3d 20 38 34 36 34 2c |te_index| = 8464,|
|000044f0| 0d 66 72 74 65 5f 6d 6f | 64 5f 64 61 74 65 20 3d |.frte_mo|d_date =|
|00004500| 20 24 38 30 32 37 32 33 | 36 31 3b 09 0d 24 30 30 | $802723|61;..$00|
|00004510| 30 30 30 30 32 41 2c 20 | 24 30 30 30 30 30 31 32 |00002A, |$0000012|
|00004520| 43 2c 20 24 78 78 78 78 | 78 78 78 78 09 66 72 74 |C, $xxxx|xxxx.frt|
|00004530| 65 5f 6d 74 65 5f 69 6e | 64 65 78 3d 34 32 2c 20 |e_mte_in|dex=42, |
|00004540| 66 72 74 65 5f 66 69 6c | 65 5f 6f 66 66 73 65 74 |frte_fil|e_offset|
|00004550| 3d 33 30 30 3b 09 0d 24 | 30 30 30 30 30 30 32 42 |=300;..$|0000002B|
|00004560| 2c 20 24 30 30 30 30 30 | 31 37 37 2c 20 24 78 78 |, $00000|177, $xx|
|00004570| 78 78 78 78 78 78 09 66 | 72 74 65 5f 6d 74 65 5f |xxxxxx.f|rte_mte_|
|00004580| 69 6e 64 65 78 3d 34 33 | 2c 20 66 72 74 65 5f 66 |index=43|, frte_f|
|00004590| 69 6c 65 5f 6f 66 66 73 | 65 74 3d 33 37 35 3b 09 |ile_offs|et=375;.|
|000045a0| 0d 24 30 30 30 30 30 30 | 32 43 2c 20 24 30 30 30 |.$000000|2C, $000|
|000045b0| 30 30 31 44 31 2c 20 24 | 78 78 78 78 78 78 78 78 |001D1, $|xxxxxxxx|
|000045c0| 09 66 72 74 65 5f 6d 74 | 65 5f 69 6e 64 65 78 3d |.frte_mt|e_index=|
|000045d0| 34 34 2c 20 66 72 74 65 | 5f 66 69 6c 65 5f 6f 66 |44, frte|_file_of|
|000045e0| 66 73 65 74 3d 34 36 35 | 3b 09 0d 24 46 46 46 46 |fset=465|;..$FFFF|
|000045f0| 46 46 46 46 2c 20 24 78 | 78 78 78 78 78 78 78 2c |FFFF, $x|xxxxxxx,|
|00004600| 20 24 78 78 78 78 78 78 | 78 78 09 45 4e 44 5f 4f | $xxxxxx|xx.END_O|
|00004610| 46 5f 4c 49 53 54 3b 09 | 0d 0d 54 68 65 20 66 69 |F_LIST;.|..The fi|
|00004620| 72 73 74 20 65 6e 74 72 | 79 20 69 73 20 61 20 46 |rst entr|y is a F|
|00004630| 49 4c 45 5f 4e 41 4d 45 | 5f 49 4e 44 45 58 20 76 |ILE_NAME|_INDEX v|
|00004640| 61 72 69 61 6e 74 2e 20 | 20 54 68 65 20 73 65 63 |ariant. | The sec|
|00004650| 6f 6e 64 20 74 68 72 6f | 75 67 68 20 66 6f 75 72 |ond thro|ugh four|
|00004660| 74 68 20 76 61 72 69 61 | 6e 74 73 20 61 72 65 20 |th varia|nts are |
|00004670| 22 6e 6f 72 6d 61 6c 22 | 20 65 6e 74 72 69 65 73 |"normal"| entries|
|00004680| 2c 20 61 20 6c 6f 6e 67 | 77 6f 72 64 20 6f 66 20 |, a long|word of |
|00004690| 65 61 63 68 20 6f 66 20 | 77 68 69 63 68 20 69 73 |each of |which is|
|000046a0| 20 75 6e 75 73 65 64 2e | 20 20 54 68 65 20 6c 61 | unused.| The la|
|000046b0| 73 74 20 76 61 72 69 61 | 6e 74 20 69 6e 64 69 63 |st varia|nt indic|
|000046c0| 61 74 65 73 20 74 68 65 | 20 65 6e 64 20 6f 66 20 |ates the| end of |
|000046d0| 74 68 65 20 6c 69 73 74 | 20 6f 66 20 46 52 54 45 |the list| of FRTE|
|000046e0| 73 2e 0d 53 79 6d 20 46 | 69 6c 65 20 48 65 61 64 |s..Sym F|ile Head|
|000046f0| 65 72 20 28 44 53 48 42 | 29 0d 54 68 65 20 44 49 |er (DSHB|).The DI|
|00004700| 53 4b 5f 53 59 4d 42 4f | 4c 5f 48 45 41 44 45 52 |SK_SYMBO|L_HEADER|
|00004710| 5f 42 4c 4f 43 4b 20 28 | 44 53 48 42 29 20 6f 63 |_BLOCK (|DSHB) oc|
|00004720| 63 75 70 69 65 73 20 74 | 68 65 20 66 69 72 73 74 |cupies t|he first|
|00004730| 20 70 61 67 65 20 69 6e | 20 74 68 65 20 53 79 6d | page in| the Sym|
|00004740| 20 66 69 6c 65 2e 20 20 | 49 74 20 63 6f 6e 74 61 | file. |It conta|
|00004750| 69 6e 73 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 20 |ins info|rmation |
|00004760| 61 62 6f 75 74 20 74 68 | 65 20 70 68 79 73 69 63 |about th|e physic|
|00004770| 61 6c 20 6c 61 79 6f 75 | 74 20 6f 66 20 74 68 65 |al layou|t of the|
|00004780| 20 53 79 6d 20 66 69 6c | 65 2c 20 69 6e 63 6c 75 | Sym fil|e, inclu|
|00004790| 64 69 6e 67 20 74 68 65 | 20 53 79 6d 20 66 69 6c |ding the| Sym fil|
|000047a0| 65 20 76 65 72 73 69 6f | 6e 20 28 77 68 69 63 68 |e versio|n (which|
|000047b0| 20 77 69 6c 6c 20 63 68 | 61 6e 67 65 20 69 6e 20 | will ch|ange in |
|000047c0| 74 68 65 20 66 75 74 75 | 72 65 29 2c 20 74 68 65 |the futu|re), the|
|000047d0| 20 70 61 67 65 20 73 69 | 7a 65 2c 20 74 68 65 20 | page si|ze, the |
|000047e0| 65 78 65 63 75 74 61 62 | 6c 65 20 66 69 6c 65 27 |executab|le file'|
|000047f0| 73 20 74 79 70 65 20 61 | 6e 64 20 63 72 65 61 74 |s type a|nd creat|
|00004800| 6f 72 2c 20 61 6e 64 20 | 74 68 65 20 6c 6f 63 61 |or, and |the loca|
|00004810| 74 69 6f 6e 73 20 6f 66 | 20 61 6c 6c 20 6f 66 20 |tions of| all of |
|00004820| 74 68 65 20 74 61 62 6c | 65 73 2e 20 20 54 68 65 |the tabl|es. The|
|00004830| 20 66 69 65 6c 64 73 20 | 61 72 65 3a 0d 44 49 53 | fields |are:.DIS|
|00004840| 4b 5f 53 59 4d 42 4f 4c | 5f 48 45 41 44 45 52 5f |K_SYMBOL|_HEADER_|
|00004850| 42 4c 4f 43 4b 20 3d 20 | 52 45 43 4f 52 44 0d 09 |BLOCK = |RECORD..|
|00004860| 64 73 68 62 5f 69 64 3a | 09 09 09 09 53 54 52 49 |dshb_id:|....STRI|
|00004870| 4e 47 5b 33 31 5d 3b 09 | 7b 2a 20 56 65 72 73 69 |NG[31];.|{* Versi|
|00004880| 6f 6e 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 09 09 |on infor|mation..|
|00004890| 09 09 2a 7d 0d 09 64 73 | 68 62 5f 70 61 67 65 5f |..*}..ds|hb_page_|
|000048a0| 73 69 7a 65 3a 09 49 4e | 54 45 47 45 52 3b 09 09 |size:.IN|TEGER;..|
|000048b0| 7b 2a 20 53 69 7a 65 20 | 6f 66 20 74 68 65 20 70 |{* Size |of the p|
|000048c0| 61 67 65 73 2f 62 6c 6f | 63 6b 73 09 09 2a 7d 0d |ages/blo|cks..*}.|
|000048d0| 09 64 73 68 62 5f 68 61 | 73 68 5f 70 61 67 65 3a |.dshb_ha|sh_page:|
|000048e0| 09 4c 4f 4e 47 49 4e 54 | 3b 09 7b 2a 20 44 69 73 |.LONGINT|;.{* Dis|
|000048f0| 6b 20 70 61 67 65 20 66 | 6f 72 20 74 68 65 20 68 |k page f|or the h|
|00004900| 61 73 68 20 74 61 62 6c | 65 09 2a 7d 0d 09 64 73 |ash tabl|e.*}..ds|
|00004910| 68 62 5f 72 6f 6f 74 5f | 6d 74 65 3a 09 09 4c 4f |hb_root_|mte:..LO|
|00004920| 4e 47 49 4e 54 3b 09 7b | 2a 20 4d 54 45 20 69 6e |NGINT;.{|* MTE in|
|00004930| 64 65 78 20 6f 66 20 74 | 68 65 20 70 72 6f 67 72 |dex of t|he progr|
|00004940| 61 6d 20 72 6f 6f 74 09 | 2a 7d 0d 09 64 73 68 62 |am root.|*}..dshb|
|00004950| 5f 6d 6f 64 5f 64 61 74 | 65 3a 09 09 4c 4f 4e 47 |_mod_dat|e:..LONG|
|00004960| 49 4e 54 3b 09 09 7b 2a | 20 65 78 65 63 75 74 61 |INT;..{*| executa|
|00004970| 62 6c 65 27 73 20 6d 6f | 64 20 64 61 74 65 09 09 |ble's mo|d date..|
|00004980| 09 2a 7d 0d 0d 09 64 73 | 68 62 5f 66 72 74 65 3a |.*}...ds|hb_frte:|
|00004990| 09 09 44 49 53 4b 5f 54 | 41 42 4c 45 5f 49 4e 46 |..DISK_T|ABLE_INF|
|000049a0| 4f 3b 09 7b 2a 20 50 65 | 72 20 54 41 42 4c 45 20 |O;.{* Pe|r TABLE |
|000049b0| 69 6e 66 6f 72 6d 61 74 | 69 6f 6e 20 09 09 2a 7d |informat|ion ..*}|
|000049c0| 0d 09 64 73 68 62 5f 72 | 74 65 3a 09 09 44 49 53 |..dshb_r|te:..DIS|
|000049d0| 4b 5f 54 41 42 4c 45 5f | 49 4e 46 4f 3b 0d 09 64 |K_TABLE_|INFO;..d|
|000049e0| 73 68 62 5f 6d 74 65 3a | 09 09 44 49 53 4b 5f 54 |shb_mte:|..DISK_T|
|000049f0| 41 42 4c 45 5f 49 4e 46 | 4f 3b 0d 09 64 73 68 62 |ABLE_INF|O;..dshb|
|00004a00| 5f 63 6d 74 65 3a 09 09 | 44 49 53 4b 5f 54 41 42 |_cmte:..|DISK_TAB|
|00004a10| 4c 45 5f 49 4e 46 4f 3b | 0d 09 64 73 68 62 5f 63 |LE_INFO;|..dshb_c|
|00004a20| 76 74 65 3a 09 09 44 49 | 53 4b 5f 54 41 42 4c 45 |vte:..DI|SK_TABLE|
|00004a30| 5f 49 4e 46 4f 3b 0d 09 | 64 73 68 62 5f 63 73 6e |_INFO;..|dshb_csn|
|00004a40| 74 65 3a 09 09 44 49 53 | 4b 5f 54 41 42 4c 45 5f |te:..DIS|K_TABLE_|
|00004a50| 49 4e 46 4f 3b 0d 09 64 | 73 68 62 5f 63 6c 74 65 |INFO;..d|shb_clte|
|00004a60| 3a 09 09 44 49 53 4b 5f | 54 41 42 4c 45 5f 49 4e |:..DISK_|TABLE_IN|
|00004a70| 46 4f 3b 0d 09 64 73 68 | 62 5f 63 74 74 65 3a 09 |FO;..dsh|b_ctte:.|
|00004a80| 09 44 49 53 4b 5f 54 41 | 42 4c 45 5f 49 4e 46 4f |.DISK_TA|BLE_INFO|
|00004a90| 3b 0d 09 64 73 68 62 5f | 74 74 65 3a 09 09 44 49 |;..dshb_|tte:..DI|
|00004aa0| 53 4b 5f 54 41 42 4c 45 | 5f 49 4e 46 4f 3b 0d 09 |SK_TABLE|_INFO;..|
|00004ab0| 64 73 68 62 5f 6e 74 65 | 3a 09 09 44 49 53 4b 5f |dshb_nte|:..DISK_|
|00004ac0| 54 41 42 4c 45 5f 49 4e | 46 4f 3b 0d 09 64 73 68 |TABLE_IN|FO;..dsh|
|00004ad0| 62 5f 74 69 6e 66 6f 3a | 09 09 44 49 53 4b 5f 54 |b_tinfo:|..DISK_T|
|00004ae0| 41 42 4c 45 5f 49 4e 46 | 4f 3b 0d 09 64 73 68 62 |ABLE_INF|O;..dshb|
|00004af0| 5f 66 69 74 65 3a 09 09 | 44 49 53 4b 5f 54 41 42 |_fite:..|DISK_TAB|
|00004b00| 4c 45 5f 49 4e 46 4f 3b | 0d 09 64 73 68 62 5f 63 |LE_INFO;|..dshb_c|
|00004b10| 6f 6e 73 74 3a 09 09 44 | 49 53 4b 5f 54 41 42 4c |onst:..D|ISK_TABL|
|00004b20| 45 5f 49 4e 46 4f 3b 0d | 0d 09 64 73 68 62 5f 66 |E_INFO;.|..dshb_f|
|00004b30| 69 6c 65 5f 63 72 65 61 | 74 6f 72 3a 09 4f 53 54 |ile_crea|tor:.OST|
|00004b40| 79 70 65 3b 09 7b 2a 20 | 65 78 65 63 75 74 61 62 |ype;.{* |executab|
|00004b50| 6c 65 27 73 20 63 72 65 | 61 74 6f 72 09 09 09 2a |le's cre|ator...*|
|00004b60| 7d 0d 09 64 73 68 62 5f | 66 69 6c 65 5f 74 79 70 |}..dshb_|file_typ|
|00004b70| 65 3a 09 09 4f 53 54 79 | 70 65 3b 09 7b 2a 20 65 |e:..OSTy|pe;.{* e|
|00004b80| 78 65 63 75 74 61 62 6c | 65 27 73 20 66 69 6c 65 |xecutabl|e's file|
|00004b90| 20 74 79 70 65 09 09 2a | 7d 0d 45 4e 44 3b 0d 54 | type..*|}.END;.T|
|00004ba0| 68 65 20 64 73 68 62 5f | 69 64 20 66 69 65 6c 64 |he dshb_|id field|
|00004bb0| 20 69 73 20 61 20 50 61 | 73 63 61 6c 20 73 74 72 | is a Pa|scal str|
|00004bc0| 69 6e 67 20 74 68 61 74 | 20 69 6e 64 69 63 61 74 |ing that| indicat|
|00004bd0| 65 73 20 74 68 65 20 53 | 79 6d 20 66 69 6c 65 20 |es the S|ym file |
|00004be0| 76 65 72 73 69 6f 6e 3b | 20 63 75 72 72 65 6e 74 |version;| current|
|00004bf0| 6c 79 20 27 56 65 72 73 | 69 6f 6e 20 33 2e 34 27 |ly 'Vers|ion 3.4'|
|00004c00| 2e 20 20 50 72 65 76 69 | 6f 75 73 20 76 65 72 73 |. Previ|ous vers|
|00004c10| 69 6f 6e 73 20 61 72 65 | 20 69 64 65 6e 74 69 66 |ions are| identif|
|00004c20| 69 65 64 20 77 69 74 68 | 20 64 69 66 66 65 72 65 |ied with| differe|
|00004c30| 6e 74 20 76 65 72 73 69 | 6f 6e 20 6e 75 6d 62 65 |nt versi|on numbe|
|00004c40| 72 73 20 77 69 74 68 69 | 6e 20 74 68 65 20 73 74 |rs withi|n the st|
|00004c50| 72 69 6e 67 2e 20 20 53 | 65 65 20 74 68 65 20 69 |ring. S|ee the i|
|00004c60| 6e 74 65 72 66 61 63 65 | 20 66 69 6c 65 73 20 66 |nterface| files f|
|00004c70| 6f 72 20 73 70 65 63 69 | 66 69 63 20 76 61 6c 75 |or speci|fic valu|
|00004c80| 65 73 2e 20 0d 54 68 65 | 20 64 73 62 68 5f 70 61 |es. .The| dsbh_pa|
|00004c90| 67 65 5f 73 69 7a 65 20 | 66 69 65 6c 64 20 69 6e |ge_size |field in|
|00004ca0| 64 69 63 61 74 65 73 20 | 74 68 65 20 73 69 7a 65 |dicates |the size|
|00004cb0| 20 6f 66 20 61 20 70 61 | 67 65 2e 20 20 54 68 65 | of a pa|ge. The|
|00004cc0| 20 4d 50 57 20 4c 69 6e | 6b 65 72 20 77 72 69 74 | MPW Lin|ker writ|
|00004cd0| 65 73 20 32 4b 20 70 61 | 67 65 73 20 61 6e 64 20 |es 2K pa|ges and |
|00004ce0| 65 6e 66 6f 72 63 65 73 | 20 61 20 6d 69 6e 69 6d |enforces| a minim|
|00004cf0| 75 6d 20 70 61 67 65 20 | 73 69 7a 65 20 6f 66 20 |um page |size of |
|00004d00| 31 30 32 34 2c 20 62 75 | 74 20 53 59 4d 20 66 69 |1024, bu|t SYM fi|
|00004d10| 6c 65 20 63 6f 6e 73 75 | 6d 65 72 73 20 73 68 6f |le consu|mers sho|
|00004d20| 75 6c 64 20 62 65 20 61 | 62 6c 65 20 74 6f 20 64 |uld be a|ble to d|
|00004d30| 65 61 6c 20 77 69 74 68 | 20 61 6e 79 20 70 61 67 |eal with| any pag|
|00004d40| 65 20 73 69 7a 65 20 6c | 61 72 67 65 20 65 6e 6f |e size l|arge eno|
|00004d50| 75 67 68 20 74 6f 20 68 | 6f 6c 64 20 74 68 65 20 |ugh to h|old the |
|00004d60| 6c 61 72 67 65 73 74 20 | 72 65 63 6f 72 64 2e 20 |largest |record. |
|00004d70| 20 4e 6f 20 73 79 6d 62 | 6f 6c 69 63 20 72 65 63 | No symb|olic rec|
|00004d80| 6f 72 64 20 6d 61 79 20 | 63 72 6f 73 73 20 61 20 |ord may |cross a |
|00004d90| 70 61 67 65 20 62 6f 75 | 6e 64 61 72 79 20 28 77 |page bou|ndary (w|
|00004da0| 69 74 68 20 74 68 65 20 | 65 78 63 65 70 74 69 6f |ith the |exceptio|
|00004db0| 6e 20 6f 66 20 74 68 65 | 20 4e 61 6d 65 20 54 61 |n of the| Name Ta|
|00004dc0| 62 6c 65 29 3b 20 74 68 | 69 73 20 69 73 20 61 20 |ble); th|is is a |
|00004dd0| 70 6f 74 65 6e 74 69 61 | 6c 20 70 72 6f 62 6c 65 |potentia|l proble|
|00004de0| 6d 20 6f 6e 6c 79 20 66 | 6f 72 20 74 68 65 20 54 |m only f|or the T|
|00004df0| 49 4e 46 4f 20 61 6e 64 | 20 43 4f 4e 53 54 20 74 |INFO and| CONST t|
|00004e00| 61 62 6c 65 73 2c 20 77 | 68 6f 73 65 20 65 6e 74 |ables, w|hose ent|
|00004e10| 72 69 65 73 20 63 6f 75 | 6c 64 20 65 78 63 65 65 |ries cou|ld excee|
|00004e20| 64 20 61 6e 20 61 72 62 | 69 74 72 61 72 79 20 66 |d an arb|itrary f|
|00004e30| 69 78 65 64 20 70 61 67 | 65 20 73 69 7a 65 2e 20 |ixed pag|e size. |
|00004e40| 20 5b 54 68 65 20 6c 69 | 6e 6b 65 72 27 73 20 73 | [The li|nker's s|
|00004e50| 74 72 61 74 65 67 79 20 | 69 73 20 74 6f 20 70 69 |trategy |is to pi|
|00004e60| 63 6b 20 61 20 70 61 67 | 65 20 73 69 7a 65 20 65 |ck a pag|e size e|
|00004e70| 6d 70 69 72 69 63 61 6c | 6c 79 20 64 65 74 65 72 |mpirical|ly deter|
|00004e80| 6d 69 6e 65 64 20 74 6f | 20 62 65 20 22 62 69 67 |mined to| be "big|
|00004e90| 20 65 6e 6f 75 67 68 22 | 20 66 6f 72 20 6d 6f 73 | enough"| for mos|
|00004ea0| 74 20 70 72 6f 67 72 61 | 6d 73 2c 20 61 6e 64 20 |t progra|ms, and |
|00004eb0| 74 6f 20 73 75 70 70 6c | 79 20 61 20 63 6f 6d 6d |to suppl|y a comm|
|00004ec0| 61 6e 64 20 6c 69 6e 65 | 20 6f 70 74 69 6f 6e 20 |and line| option |
|00004ed0| 28 2d 70 67 20 70 61 67 | 65 5f 73 69 7a 65 5f 69 |(-pg pag|e_size_i|
|00004ee0| 6e 5f 62 79 74 65 73 29 | 20 73 6f 20 74 68 65 20 |n_bytes)| so the |
|00004ef0| 70 61 67 65 20 73 69 7a | 65 20 63 61 6e 20 62 65 |page siz|e can be|
|00004f00| 20 69 6e 63 72 65 61 73 | 65 64 20 69 66 20 6e 65 | increas|ed if ne|
|00004f10| 63 65 73 73 61 72 79 5d | 2e 0d 54 68 65 20 64 73 |cessary]|..The ds|
|00004f20| 68 62 5f 68 61 73 68 5f | 70 61 67 65 20 66 69 65 |hb_hash_|page fie|
|00004f30| 6c 64 20 69 6e 64 69 63 | 61 74 65 73 20 74 68 65 |ld indic|ates the|
|00004f40| 20 70 61 67 65 20 74 68 | 61 74 20 63 6f 6e 74 61 | page th|at conta|
|00004f50| 69 6e 73 20 74 68 65 20 | 48 61 73 68 20 54 61 62 |ins the |Hash Tab|
|00004f60| 6c 65 20 45 6e 74 72 69 | 65 73 20 28 48 54 45 73 |le Entri|es (HTEs|
|00004f70| 29 2e 20 20 54 68 65 20 | 73 69 7a 65 20 6f 66 20 |). The |size of |
|00004f80| 74 68 65 20 68 61 73 68 | 20 74 61 62 6c 65 20 28 |the hash| table (|
|00004f90| 34 4b 29 20 69 73 20 6b | 6e 6f 77 6e 2c 20 73 6f |4K) is k|nown, so|
|00004fa0| 20 61 20 44 54 49 20 69 | 73 20 6e 6f 74 20 6e 65 | a DTI i|s not ne|
|00004fb0| 63 65 73 73 61 72 79 2e | 0d 54 68 65 20 64 73 68 |cessary.|.The dsh|
|00004fc0| 62 5f 72 6f 6f 74 5f 6d | 74 65 20 66 69 65 6c 64 |b_root_m|te field|
|00004fd0| 20 63 6f 6e 74 61 69 6e | 73 20 74 68 65 20 4d 54 | contain|s the MT|
|00004fe0| 45 20 69 6e 64 65 78 20 | 6f 66 20 74 68 65 20 72 |E index |of the r|
|00004ff0| 6f 6f 74 20 73 63 6f 70 | 65 2e 0d 54 68 65 20 64 |oot scop|e..The d|
|00005000| 73 68 62 5f 6d 6f 64 5f | 64 61 74 65 20 66 69 65 |shb_mod_|date fie|
|00005010| 6c 64 20 63 6f 6e 74 61 | 69 6e 73 20 74 68 65 20 |ld conta|ins the |
|00005020| 6d 6f 64 69 66 69 63 61 | 74 69 6f 6e 20 64 61 74 |modifica|tion dat|
|00005030| 65 20 6f 66 20 74 68 65 | 20 65 78 65 63 75 74 61 |e of the| executa|
|00005040| 62 6c 65 20 66 69 6c 65 | 2e 20 20 4c 69 6b 65 77 |ble file|. Likew|
|00005050| 69 73 65 2c 20 74 68 65 | 20 64 73 68 62 5f 66 69 |ise, the| dshb_fi|
|00005060| 6c 65 5f 63 72 65 61 74 | 6f 72 20 61 6e 64 20 64 |le_creat|or and d|
|00005070| 73 68 62 5f 66 69 6c 65 | 5f 74 79 70 65 20 66 69 |shb_file|_type fi|
|00005080| 65 6c 64 73 20 63 6f 6e | 74 61 69 6e 20 74 68 65 |elds con|tain the|
|00005090| 20 65 78 65 63 75 74 61 | 62 6c 65 20 66 69 6c 65 | executa|ble file|
|000050a0| 27 73 20 74 79 70 65 20 | 61 6e 64 20 63 72 65 61 |'s type |and crea|
|000050b0| 74 6f 72 2e 0d 54 68 65 | 20 72 65 6d 61 69 6e 69 |tor..The| remaini|
|000050c0| 6e 67 20 66 69 65 6c 64 | 73 2c 20 64 73 68 62 5f |ng field|s, dshb_|
|000050d0| 78 78 78 78 2c 20 61 72 | 65 20 44 69 73 6b 20 54 |xxxx, ar|e Disk T|
|000050e0| 61 62 6c 65 20 49 6e 66 | 6f 20 28 44 54 49 29 20 |able Inf|o (DTI) |
|000050f0| 72 65 63 6f 72 64 73 20 | 28 73 65 65 20 61 62 6f |records |(see abo|
|00005100| 76 65 29 20 77 68 69 63 | 68 20 69 6e 64 69 63 61 |ve) whic|h indica|
|00005110| 74 65 20 74 68 65 20 6c | 6f 63 61 74 69 6f 6e 20 |te the l|ocation |
|00005120| 61 6e 64 20 73 69 7a 65 | 20 6f 66 20 65 61 63 68 |and size| of each|
|00005130| 20 74 61 62 6c 65 2e 0d | 54 68 65 20 52 65 73 6f | table..|The Reso|
|00005140| 75 72 63 65 20 28 52 54 | 45 29 20 54 61 62 6c 65 |urce (RT|E) Table|
|00005150| 0d 41 6c 6c 20 63 6f 64 | 65 20 61 6e 64 20 64 61 |.All cod|e and da|
|00005160| 74 61 20 72 65 73 69 64 | 65 73 20 69 6e 20 72 65 |ta resid|es in re|
|00005170| 73 6f 75 72 63 65 73 2c | 20 65 76 65 6e 20 67 6c |sources,| even gl|
|00005180| 6f 62 61 6c 20 64 61 74 | 61 20 72 65 73 69 64 65 |obal dat|a reside|
|00005190| 73 20 69 6e 20 61 20 64 | 75 6d 6d 79 20 72 65 73 |s in a d|ummy res|
|000051a0| 6f 75 72 63 65 20 6f 66 | 20 74 79 70 65 20 27 67 |ource of| type 'g|
|000051b0| 62 6c 64 27 20 77 69 74 | 68 20 69 64 20 30 2e 20 |bld' wit|h id 0. |
|000051c0| 20 45 61 63 68 20 52 54 | 45 20 64 65 73 63 72 69 | Each RT|E descri|
|000051d0| 62 65 73 20 61 20 72 65 | 73 6f 75 72 63 65 20 28 |bes a re|source (|
|000051e0| 69 74 73 20 74 79 70 65 | 2c 20 69 64 20 61 6e 64 |its type|, id and|
|000051f0| 20 6e 61 6d 65 29 20 61 | 6e 64 20 74 68 65 20 72 | name) a|nd the r|
|00005200| 61 6e 67 65 20 6f 66 20 | 4d 54 45 73 20 74 68 65 |ange of |MTEs the|
|00005210| 20 72 65 73 6f 75 72 63 | 65 20 63 6f 6e 74 61 69 | resourc|e contai|
|00005220| 6e 73 2e 20 20 54 68 65 | 20 64 65 62 75 67 67 65 |ns. The| debugge|
|00005230| 72 20 75 73 65 73 20 52 | 54 45 73 20 74 6f 20 71 |r uses R|TEs to q|
|00005240| 75 69 63 6b 6c 79 20 74 | 72 61 6e 73 6c 61 74 65 |uickly t|ranslate|
|00005250| 20 61 20 73 65 67 6d 65 | 6e 74 2b 6f 66 66 73 65 | a segme|nt+offse|
|00005260| 74 20 61 64 64 72 65 73 | 73 20 74 6f 20 61 20 72 |t addres|s to a r|
|00005270| 61 6e 67 65 20 6f 66 20 | 4d 54 45 73 2e 0d 54 68 |ange of |MTEs..Th|
|00005280| 65 20 66 69 65 6c 64 73 | 20 61 72 65 3a 0d 52 45 |e fields| are:.RE|
|00005290| 53 4f 55 52 43 45 5f 54 | 41 42 4c 45 5f 45 4e 54 |SOURCE_T|ABLE_ENT|
|000052a0| 52 59 20 3d 20 52 45 43 | 4f 52 44 0d 09 72 74 65 |RY = REC|ORD..rte|
|000052b0| 5f 52 65 73 54 79 70 65 | 3a 09 09 52 65 73 54 79 |_ResType|:..ResTy|
|000052c0| 70 65 3b 09 09 7b 20 72 | 65 73 6f 75 72 63 65 20 |pe;..{ r|esource |
|000052d0| 74 79 70 65 09 09 09 09 | 09 09 09 09 7d 0d 09 72 |type....|....}..r|
|000052e0| 74 65 5f 72 65 73 5f 6e | 75 6d 62 65 72 3a 09 49 |te_res_n|umber:.I|
|000052f0| 4e 54 45 47 45 52 3b 09 | 09 7b 20 72 65 73 6f 75 |NTEGER;.|.{ resou|
|00005300| 72 63 65 20 69 64 09 09 | 09 09 09 09 09 09 09 7d |rce id..|.......}|
|00005310| 0d 09 72 74 65 5f 6e 74 | 65 5f 69 6e 64 65 78 3a |..rte_nt|e_index:|
|00005320| 09 09 4c 4f 4e 47 49 4e | 54 3b 09 09 7b 20 74 68 |..LONGIN|T;..{ th|
|00005330| 65 20 72 65 73 6f 75 72 | 63 65 27 73 20 6e 61 6d |e resour|ce's nam|
|00005340| 65 09 09 09 09 09 09 7d | 0d 09 72 74 65 5f 6d 74 |e......}|..rte_mt|
|00005350| 65 5f 66 69 72 73 74 3a | 09 09 4c 4f 4e 47 49 4e |e_first:|..LONGIN|
|00005360| 54 3b 09 7b 20 66 69 72 | 73 74 20 4d 54 45 20 63 |T;.{ fir|st MTE c|
|00005370| 6f 6e 74 61 69 6e 65 64 | 20 69 6e 20 74 68 65 20 |ontained| in the |
|00005380| 72 65 73 6f 75 72 63 65 | 09 7d 0d 09 72 74 65 5f |resource|.}..rte_|
|00005390| 6d 74 65 5f 6c 61 73 74 | 3a 09 09 4c 4f 4e 47 49 |mte_last|:..LONGI|
|000053a0| 4e 54 3b 09 7b 20 6c 61 | 73 74 20 4d 54 45 20 63 |NT;.{ la|st MTE c|
|000053b0| 6f 6e 74 61 69 6e 65 64 | 20 69 6e 20 74 68 65 20 |ontained| in the |
|000053c0| 72 65 73 6f 75 72 63 65 | 09 7d 0d 09 72 74 65 5f |resource|.}..rte_|
|000053d0| 72 65 73 5f 73 69 7a 65 | 3a 09 09 4c 4f 4e 47 49 |res_size|:..LONGI|
|000053e0| 4e 54 3b 09 09 7b 20 74 | 68 65 20 73 69 7a 65 20 |NT;..{ t|he size |
|000053f0| 6f 66 20 74 68 65 20 72 | 65 73 6f 75 72 63 65 09 |of the r|esource.|
|00005400| 09 09 09 09 7d 0d 45 4e | 44 3b 0d 54 68 65 20 72 |....}.EN|D;.The r|
|00005410| 74 65 5f 52 65 73 54 79 | 70 65 20 61 6e 64 20 72 |te_ResTy|pe and r|
|00005420| 74 65 5f 72 65 73 5f 6e | 75 6d 62 65 72 20 66 69 |te_res_n|umber fi|
|00005430| 65 6c 64 73 20 73 70 65 | 63 69 66 79 20 74 68 65 |elds spe|cify the|
|00005440| 20 72 65 73 6f 75 72 63 | 65 27 73 20 74 79 70 65 | resourc|e's type|
|00005450| 20 61 6e 64 20 69 64 2e | 0d 54 68 65 20 72 74 65 | and id.|.The rte|
|00005460| 5f 6e 74 65 5f 69 6e 64 | 65 78 20 66 69 65 6c 64 |_nte_ind|ex field|
|00005470| 20 73 70 65 63 69 66 69 | 65 73 20 74 68 65 20 4e | specifi|es the N|
|00005480| 54 45 20 69 6e 64 65 78 | 20 6f 66 20 74 68 65 20 |TE index| of the |
|00005490| 72 65 73 6f 75 72 63 65 | 27 73 20 6e 61 6d 65 2e |resource|'s name.|
|000054a0| 0d 54 68 65 20 72 74 65 | 5f 6d 74 65 5f 66 69 72 |.The rte|_mte_fir|
|000054b0| 73 74 20 61 6e 64 20 72 | 74 65 5f 6d 74 65 5f 6c |st and r|te_mte_l|
|000054c0| 61 73 74 20 66 69 65 6c | 64 73 20 73 70 65 63 69 |ast fiel|ds speci|
|000054d0| 66 79 20 74 68 65 20 72 | 61 6e 67 65 20 6f 66 20 |fy the r|ange of |
|000054e0| 4d 54 45 73 20 74 68 61 | 74 20 62 65 6c 6f 6e 67 |MTEs tha|t belong|
|000054f0| 20 74 6f 20 74 68 65 20 | 72 65 73 6f 75 72 63 65 | to the |resource|
|00005500| 2e 20 20 54 68 65 20 4d | 54 45 20 72 61 6e 67 65 |. The M|TE range|
|00005510| 20 69 73 20 75 73 65 64 | 20 74 6f 20 6e 61 72 72 | is used| to narr|
|00005520| 6f 77 20 74 68 65 20 73 | 65 61 72 63 68 20 66 6f |ow the s|earch fo|
|00005530| 72 20 4d 54 45 73 20 77 | 68 65 6e 20 69 74 20 69 |r MTEs w|hen it i|
|00005540| 73 20 6e 65 63 65 73 73 | 61 72 79 20 74 6f 20 74 |s necess|ary to t|
|00005550| 72 61 6e 73 6c 61 74 65 | 20 61 20 72 65 73 6f 75 |ranslate| a resou|
|00005560| 72 63 65 2d 61 6e 64 2d | 6f 66 66 73 65 74 20 74 |rce-and-|offset t|
|00005570| 6f 20 61 20 73 63 6f 70 | 65 20 6f 72 20 61 20 73 |o a scop|e or a s|
|00005580| 6f 75 72 63 65 20 6c 6f | 63 61 74 69 6f 6e 2c 20 |ource lo|cation, |
|00005590| 73 69 6e 63 65 20 74 68 | 65 20 4d 54 45 73 20 61 |since th|e MTEs a|
|000055a0| 72 65 20 6f 72 64 65 72 | 65 64 20 62 79 20 73 65 |re order|ed by se|
|000055b0| 67 6d 65 6e 74 20 6f 66 | 66 73 65 74 2e 0d 54 68 |gment of|fset..Th|
|000055c0| 65 20 72 74 65 5f 72 65 | 73 5f 73 69 7a 65 20 66 |e rte_re|s_size f|
|000055d0| 69 65 6c 64 20 73 70 65 | 63 69 66 69 65 73 20 74 |ield spe|cifies t|
|000055e0| 68 65 20 73 69 7a 65 20 | 6f 66 20 74 68 65 20 72 |he size |of the r|
|000055f0| 65 73 6f 75 72 63 65 2e | 20 20 4e 6f 74 65 20 74 |esource.| Note t|
|00005600| 68 61 74 20 4d 54 45 73 | 20 63 6f 6e 74 61 69 6e |hat MTEs| contain|
|00005610| 65 64 20 69 6e 20 61 20 | 72 65 73 6f 75 72 63 65 |ed in a |resource|
|00005620| 20 61 72 65 20 6e 6f 74 | 20 67 75 61 72 61 6e 74 | are not| guarant|
|00005630| 65 65 64 20 74 6f 20 63 | 6f 6d 70 6c 65 74 65 6c |eed to c|ompletel|
|00005640| 79 20 63 6f 76 65 72 20 | 74 68 65 20 72 65 73 6f |y cover |the reso|
|00005650| 75 72 63 65 20 28 65 2e | 67 2e 20 70 61 64 64 69 |urce (e.|g. paddi|
|00005660| 6e 67 20 6f 72 20 64 61 | 74 61 20 69 6e 69 74 69 |ng or da|ta initi|
|00005670| 61 6c 69 7a 61 74 69 6f | 6e 20 69 6e 66 6f 72 6d |alizatio|n inform|
|00005680| 61 74 69 6f 6e 20 66 6f | 6c 6c 6f 77 20 74 68 65 |ation fo|llow the|
|00005690| 20 6c 61 73 74 20 4d 54 | 45 20 69 6e 20 61 20 72 | last MT|E in a r|
|000056a0| 65 73 6f 75 72 63 65 29 | 2e 0d 54 6f 20 6f 62 74 |esource)|..To obt|
|000056b0| 61 69 6e 20 61 6e 20 4d | 54 45 20 69 6e 64 65 78 |ain an M|TE index|
|000056c0| 20 66 72 6f 6d 20 61 20 | 72 65 73 6f 75 72 63 65 | from a |resource|
|000056d0| 2b 6f 66 66 73 65 74 2c | 20 28 31 29 20 73 65 61 |+offset,| (1) sea|
|000056e0| 72 63 68 20 74 68 65 20 | 52 54 45 20 6c 69 73 74 |rch the |RTE list|
|000056f0| 20 66 6f 72 20 61 6e 20 | 52 54 45 20 77 69 74 68 | for an |RTE with|
|00005700| 20 61 20 6d 61 74 63 68 | 69 6e 67 20 72 65 73 6f | a match|ing reso|
|00005710| 75 72 63 65 20 74 79 70 | 65 20 61 6e 64 20 69 64 |urce typ|e and id|
|00005720| 2c 20 74 68 65 6e 20 28 | 32 29 20 73 65 61 72 63 |, then (|2) searc|
|00005730| 68 20 74 68 65 20 72 61 | 6e 67 65 20 6f 66 20 4d |h the ra|nge of M|
|00005740| 54 45 73 20 22 6f 77 6e | 65 64 22 20 62 79 20 74 |TEs "own|ed" by t|
|00005750| 68 61 74 20 52 54 45 20 | 75 6e 74 69 6c 20 74 68 |hat RTE |until th|
|00005760| 65 20 66 69 72 73 74 20 | 4d 54 45 20 74 68 61 74 |e first |MTE that|
|00005770| 20 62 72 61 63 6b 65 74 | 73 20 74 68 65 20 72 65 | bracket|s the re|
|00005780| 73 6f 75 72 63 65 20 6f | 66 66 73 65 74 20 69 73 |source o|ffset is|
|00005790| 20 66 6f 75 6e 64 2c 20 | 75 73 69 6e 67 20 74 68 | found, |using th|
|000057a0| 65 20 6d 74 65 5f 72 65 | 73 5f 6f 66 66 73 65 74 |e mte_re|s_offset|
|000057b0| 20 61 6e 64 20 6d 74 65 | 5f 73 69 7a 65 20 66 69 | and mte|_size fi|
|000057c0| 65 6c 64 73 2e 0d 54 6f | 20 6f 62 74 61 69 6e 20 |elds..To| obtain |
|000057d0| 74 68 65 20 4d 54 45 20 | 77 68 6f 73 65 20 73 63 |the MTE |whose sc|
|000057e0| 6f 70 65 20 63 6f 72 72 | 65 73 70 6f 6e 64 73 20 |ope corr|esponds |
|000057f0| 74 6f 20 61 20 72 65 73 | 6f 75 72 63 65 2b 20 6f |to a res|ource+ o|
|00005800| 66 66 73 65 74 2c 20 66 | 69 6e 64 20 74 68 65 20 |ffset, f|ind the |
|00005810| 4d 54 45 20 74 68 61 74 | 20 6d 6f 73 74 20 6e 61 |MTE that| most na|
|00005820| 72 72 6f 77 6c 79 20 63 | 6f 6e 74 61 69 6e 73 20 |rrowly c|ontains |
|00005830| 74 68 65 20 6f 66 66 73 | 65 74 2e 0d 54 68 65 20 |the offs|et..The |
|00005840| 4d 6f 64 75 6c 65 20 28 | 4d 54 45 29 20 54 61 62 |Module (|MTE) Tab|
|00005850| 6c 65 0d 41 6e 20 4d 54 | 45 20 72 65 70 72 65 73 |le.An MT|E repres|
|00005860| 65 6e 74 73 20 61 20 73 | 63 6f 70 65 20 77 68 69 |ents a s|cope whi|
|00005870| 63 68 20 6c 65 78 69 63 | 61 6c 6c 79 20 63 6f 6e |ch lexic|ally con|
|00005880| 74 61 69 6e 73 20 76 61 | 72 69 61 62 6c 65 73 2c |tains va|riables,|
|00005890| 20 6c 61 62 65 6c 73 2c | 20 74 79 70 65 73 2c 20 | labels,| types, |
|000058a0| 73 6f 75 72 63 65 20 73 | 74 61 74 65 6d 65 6e 74 |source s|tatement|
|000058b0| 73 20 61 6e 64 20 6f 74 | 68 65 72 20 4d 54 45 73 |s and ot|her MTEs|
|000058c0| 2e 20 20 4d 54 45 73 20 | 61 72 65 20 75 73 65 64 |. MTEs |are used|
|000058d0| 20 74 6f 20 64 65 66 69 | 6e 65 20 62 6f 74 68 20 | to defi|ne both |
|000058e0| 76 61 63 75 6f 75 73 20 | 73 63 6f 70 65 73 20 74 |vacuous |scopes t|
|000058f0| 68 61 74 20 61 72 65 20 | 6e 6f 74 20 61 73 73 6f |hat are |not asso|
|00005900| 63 69 61 74 65 64 20 77 | 69 74 68 20 63 6f 64 65 |ciated w|ith code|
|00005910| 20 28 73 75 63 68 20 61 | 73 20 50 61 73 63 61 6c | (such a|s Pascal|
|00005920| 20 63 6f 6d 70 69 6c 61 | 74 69 6f 6e 20 55 4e 49 | compila|tion UNI|
|00005930| 54 73 2c 20 43 20 73 6f | 75 72 63 65 20 66 69 6c |Ts, C so|urce fil|
|00005940| 65 73 2c 20 6f 72 20 43 | 20 22 63 75 72 6c 79 2d |es, or C| "curly-|
|00005950| 62 72 61 63 65 22 20 73 | 63 6f 70 65 73 29 2c 20 |brace" s|copes), |
|00005960| 61 6e 64 20 6e 6f 6e 2d | 76 61 63 75 6f 75 73 20 |and non-|vacuous |
|00005970| 28 6f 72 20 6d 65 61 74 | 79 29 20 73 63 6f 70 65 |(or meat|y) scope|
|00005980| 73 20 77 68 69 63 68 20 | 61 72 65 20 61 73 73 6f |s which |are asso|
|00005990| 63 69 61 74 65 64 20 77 | 69 74 68 20 4d 6f 64 75 |ciated w|ith Modu|
|000059a0| 6c 65 20 72 65 63 6f 72 | 64 73 20 61 6e 64 20 68 |le recor|ds and h|
|000059b0| 61 76 65 20 61 64 64 72 | 65 73 73 65 73 2e 0d 4d |ave addr|esses..M|
|000059c0| 54 45 73 20 61 72 65 20 | 67 72 6f 75 70 65 64 20 |TEs are |grouped |
|000059d0| 62 79 20 73 65 67 6d 65 | 6e 74 2c 20 61 6e 64 20 |by segme|nt, and |
|000059e0| 6f 72 64 65 72 65 64 20 | 62 79 20 73 65 67 6d 65 |ordered |by segme|
|000059f0| 6e 74 20 6f 66 66 73 65 | 74 2e 0d 54 68 65 20 66 |nt offse|t..The f|
|00005a00| 69 65 6c 64 73 20 69 6e | 20 61 6e 20 4d 54 45 20 |ields in| an MTE |
|00005a10| 61 72 65 3a 0d 4d 4f 44 | 55 4c 45 53 5f 54 41 42 |are:.MOD|ULES_TAB|
|00005a20| 4c 45 5f 45 4e 54 52 59 | 20 3d 20 52 45 43 4f 52 |LE_ENTRY| = RECOR|
|00005a30| 44 0d 09 6d 74 65 5f 72 | 74 65 5f 69 6e 64 65 78 |D..mte_r|te_index|
|00005a40| 3a 09 09 55 4e 53 49 47 | 4e 45 44 3b 09 09 09 7b |:..UNSIG|NED;...{|
|00005a50| 20 77 68 69 63 68 20 72 | 65 73 6f 75 72 63 65 20 | which r|esource |
|00005a60| 74 68 65 20 4d 54 45 20 | 69 73 20 69 6e 09 7d 0d |the MTE |is in.}.|
|00005a70| 09 6d 74 65 5f 72 65 73 | 5f 6f 66 66 73 65 74 3a |.mte_res|_offset:|
|00005a80| 09 4c 4f 4e 47 49 4e 54 | 3b 09 09 09 09 7b 20 6f |.LONGINT|;....{ o|
|00005a90| 66 66 73 65 74 20 69 6e | 74 6f 20 74 68 65 20 72 |ffset in|to the r|
|00005aa0| 65 73 6f 75 72 63 65 09 | 09 09 7d 0d 09 6d 74 65 |esource.|..}..mte|
|00005ab0| 5f 73 69 7a 65 3a 09 09 | 09 4c 4f 4e 47 49 4e 54 |_size:..|.LONGINT|
|00005ac0| 3b 09 09 09 09 7b 20 73 | 69 7a 65 20 6f 66 20 74 |;....{ s|ize of t|
|00005ad0| 68 65 20 4d 54 45 09 09 | 09 09 09 09 7d 0d 09 6d |he MTE..|....}..m|
|00005ae0| 74 65 5f 6b 69 6e 64 3a | 09 09 09 53 69 67 6e 65 |te_kind:|...Signe|
|00005af0| 64 42 79 74 65 3b 09 09 | 09 7b 20 6b 69 6e 64 20 |dByte;..|.{ kind |
|00005b00| 6f 66 20 4d 54 45 09 09 | 09 09 09 09 09 7d 0d 09 |of MTE..|.....}..|
|00005b10| 6d 74 65 5f 73 63 6f 70 | 65 3a 09 09 09 53 69 67 |mte_scop|e:...Sig|
|00005b20| 6e 65 64 42 79 74 65 3b | 09 09 09 7b 20 4d 54 45 |nedByte;|...{ MTE|
|00005b30| 27 73 20 76 69 73 69 62 | 69 6c 69 74 79 09 09 09 |'s visib|ility...|
|00005b40| 09 09 7d 0d 09 6d 74 65 | 5f 70 61 72 65 6e 74 3a |..}..mte|_parent:|
|00005b50| 09 09 09 4c 4f 4e 47 49 | 4e 54 3b 09 09 09 7b 20 |...LONGI|NT;...{ |
|00005b60| 69 6e 64 65 78 20 6f 66 | 20 70 61 72 65 6e 74 20 |index of| parent |
|00005b70| 4d 54 45 09 09 09 09 7d | 0d 09 6d 74 65 5f 69 6d |MTE....}|..mte_im|
|00005b80| 70 5f 66 72 65 66 3a 09 | 09 46 49 4c 45 5f 52 45 |p_fref:.|.FILE_RE|
|00005b90| 46 45 52 45 4e 43 45 3b | 09 7b 20 69 6d 70 6c 65 |FERENCE;|.{ imple|
|00005ba0| 6d 65 6e 74 61 74 69 6f | 6e 20 73 6f 75 72 63 65 |mentatio|n source|
|00005bb0| 20 6c 6f 63 61 74 69 6f | 6e 09 7d 0d 09 6d 74 65 | locatio|n.}..mte|
|00005bc0| 5f 69 6d 70 5f 65 6e 64 | 3a 09 09 4c 4f 4e 47 49 |_imp_end|:..LONGI|
|00005bd0| 4e 54 3b 09 09 09 09 7b | 20 20 20 65 6e 64 20 6f |NT;....{| end o|
|00005be0| 66 20 69 6d 70 6c 65 6d | 65 6e 74 61 74 69 6f 6e |f implem|entation|
|00005bf0| 09 09 09 7d 0d 09 6d 74 | 65 5f 6e 74 65 5f 69 6e |...}..mt|e_nte_in|
|00005c00| 64 65 78 3a 09 09 4c 4f | 4e 47 49 4e 54 3b 09 09 |dex:..LO|NGINT;..|
|00005c10| 09 09 7b 20 4d 54 45 27 | 73 20 6e 61 6d 65 09 09 |..{ MTE'|s name..|
|00005c20| 09 09 09 09 09 7d 0d 09 | 6d 74 65 5f 63 6d 74 65 |.....}..|mte_cmte|
|00005c30| 5f 69 6e 64 65 78 3a 09 | 4c 4f 4e 47 49 4e 54 3b |_index:.|LONGINT;|
|00005c40| 09 09 09 7b 20 4d 54 45 | 73 20 63 6f 6e 74 61 69 |...{ MTE|s contai|
|00005c50| 6e 65 64 20 62 79 20 74 | 68 69 73 20 4d 54 45 09 |ned by t|his MTE.|
|00005c60| 09 7d 0d 09 6d 74 65 5f | 63 76 74 65 5f 69 6e 64 |.}..mte_|cvte_ind|
|00005c70| 65 78 3a 09 4c 4f 4e 47 | 49 4e 54 3b 09 09 09 7b |ex:.LONG|INT;...{|
|00005c80| 20 76 61 72 69 61 62 6c | 65 73 20 63 6f 6e 74 61 | variabl|es conta|
|00005c90| 69 6e 65 64 20 62 79 20 | 74 68 69 73 20 4d 54 45 |ined by |this MTE|
|00005ca0| 7d 0d 09 6d 74 65 5f 63 | 6c 74 65 5f 69 6e 64 65 |}..mte_c|lte_inde|
|00005cb0| 78 3a 09 4c 4f 4e 47 49 | 4e 54 3b 09 09 09 7b 20 |x:.LONGI|NT;...{ |
|00005cc0| 6c 61 62 65 6c 73 20 63 | 6f 6e 74 61 69 6e 65 64 |labels c|ontained|
|00005cd0| 20 62 79 20 74 68 69 73 | 20 4d 54 45 09 7d 0d 09 | by this| MTE.}..|
|00005ce0| 6d 74 65 5f 63 74 74 65 | 5f 69 6e 64 65 78 3a 09 |mte_ctte|_index:.|
|00005cf0| 4c 4f 4e 47 49 4e 54 3b | 09 09 09 7b 20 74 79 70 |LONGINT;|...{ typ|
|00005d00| 65 73 20 63 6f 6e 74 61 | 69 6e 65 64 20 62 79 20 |es conta|ined by |
|00005d10| 74 68 69 73 20 4d 54 45 | 09 09 7d 0d 09 6d 74 65 |this MTE|..}..mte|
|00005d20| 5f 63 73 6e 74 65 5f 69 | 64 78 5f 31 3a 09 4c 4f |_csnte_i|dx_1:.LO|
|00005d30| 4e 47 49 4e 54 3b 09 09 | 09 09 7b 20 43 53 4e 54 |NGINT;..|..{ CSNT|
|00005d40| 45 20 69 6e 64 65 78 20 | 6f 66 20 66 69 72 73 74 |E index |of first|
|00005d50| 20 73 74 61 74 65 6d 65 | 6e 74 09 7d 0d 09 6d 74 | stateme|nt.}..mt|
|00005d60| 65 5f 63 73 6e 74 65 5f | 69 64 78 5f 32 3a 09 4c |e_csnte_|idx_2:.L|
|00005d70| 4f 4e 47 49 4e 54 3b 09 | 09 09 09 7b 20 43 53 4e |ONGINT;.|...{ CSN|
|00005d80| 54 45 20 69 6e 64 65 78 | 20 6f 66 20 6c 61 73 74 |TE index| of last|
|00005d90| 20 73 74 61 74 65 6d 65 | 6e 74 09 7d 0d 45 4e 44 | stateme|nt.}.END|
|00005da0| 3b 0d 54 68 65 20 6d 74 | 65 5f 72 74 65 5f 69 6e |;.The mt|e_rte_in|
|00005db0| 64 65 78 2c 20 6d 74 65 | 5f 72 65 73 5f 6f 66 66 |dex, mte|_res_off|
|00005dc0| 73 65 74 20 61 6e 64 20 | 6d 74 65 5f 73 69 7a 65 |set and |mte_size|
|00005dd0| 20 66 69 65 6c 64 73 20 | 73 70 65 63 69 66 79 20 | fields |specify |
|00005de0| 74 68 65 20 4d 54 45 27 | 73 20 6c 6f 63 61 74 69 |the MTE'|s locati|
|00005df0| 6f 6e 20 61 6e 64 20 65 | 78 74 65 6e 74 20 69 6e |on and e|xtent in|
|00005e00| 20 61 20 72 65 73 6f 75 | 72 63 65 2e 20 20 49 66 | a resou|rce. If|
|00005e10| 20 74 68 65 20 4d 54 45 | 20 69 73 20 6e 6f 74 20 | the MTE| is not |
|00005e20| 61 73 73 6f 63 69 61 74 | 65 64 20 77 69 74 68 20 |associat|ed with |
|00005e30| 61 6e 79 20 63 6f 64 65 | 2c 20 74 68 65 6e 20 6d |any code|, then m|
|00005e40| 74 65 5f 72 74 65 5f 69 | 6e 64 65 78 20 69 73 20 |te_rte_i|ndex is |
|00005e50| 7a 65 72 6f 2e 0d 54 68 | 65 20 6d 74 65 5f 6b 69 |zero..Th|e mte_ki|
|00005e60| 6e 64 20 66 69 65 6c 64 | 20 63 61 6e 20 74 61 6b |nd field| can tak|
|00005e70| 65 20 6f 6e 20 74 68 65 | 20 66 6f 6c 6c 6f 77 69 |e on the| followi|
|00005e80| 6e 67 20 76 61 6c 75 65 | 73 20 28 63 6f 72 72 65 |ng value|s (corre|
|00005e90| 73 70 6f 6e 64 69 6e 67 | 20 74 6f 20 74 68 65 20 |sponding| to the |
|00005ea0| 76 61 6c 75 65 73 20 75 | 73 65 64 20 62 79 20 74 |values u|sed by t|
|00005eb0| 68 65 20 4f 4d 46 29 3a | 0d 43 4f 4e 53 54 0d 09 |he OMF):|.CONST..|
|00005ec0| 4d 4f 44 55 4c 45 5f 4b | 49 4e 44 5f 4e 4f 4e 45 |MODULE_K|IND_NONE|
|00005ed0| 09 09 09 3d 20 30 3b 09 | 7b 20 75 6e 6b 6e 6f 77 |...= 0;.|{ unknow|
|00005ee0| 6e 20 6d 6f 64 75 6c 65 | 20 74 79 70 65 09 09 09 |n module| type...|
|00005ef0| 09 09 09 7d 0d 09 4d 4f | 44 55 4c 45 5f 4b 49 4e |...}..MO|DULE_KIN|
|00005f00| 44 5f 50 52 4f 47 52 41 | 4d 09 09 3d 20 31 3b 09 |D_PROGRA|M..= 1;.|
|00005f10| 7b 20 74 68 65 20 72 6f | 6f 74 20 4d 54 45 20 68 |{ the ro|ot MTE h|
|00005f20| 61 73 20 74 68 69 73 20 | 6b 69 6e 64 09 09 09 09 |as this |kind....|
|00005f30| 7d 0d 09 4d 4f 44 55 4c | 45 5f 4b 49 4e 44 5f 55 |}..MODUL|E_KIND_U|
|00005f40| 4e 49 54 09 09 09 3d 20 | 32 3b 09 7b 20 74 72 61 |NIT...= |2;.{ tra|
|00005f50| 6e 73 70 61 72 65 6e 74 | 20 73 63 6f 70 65 2c 20 |nsparent| scope, |
|00005f60| 6d 75 73 74 20 62 65 20 | 47 4c 4f 42 41 4c 09 09 |must be |GLOBAL..|
|00005f70| 7d 0d 09 4d 4f 44 55 4c | 45 5f 4b 49 4e 44 5f 50 |}..MODUL|E_KIND_P|
|00005f80| 52 4f 43 45 44 55 52 45 | 09 3d 20 33 3b 09 7b 20 |ROCEDURE|.= 3;.{ |
|00005f90| 6d 65 61 74 79 20 4d 54 | 45 20 72 65 70 72 65 73 |meaty MT|E repres|
|00005fa0| 65 6e 74 69 6e 67 20 61 | 20 70 72 6f 63 65 64 75 |enting a| procedu|
|00005fb0| 72 65 09 7d 0d 09 4d 4f | 44 55 4c 45 5f 4b 49 4e |re.}..MO|DULE_KIN|
|00005fc0| 44 5f 46 55 4e 43 54 49 | 4f 4e 09 09 3d 20 34 3b |D_FUNCTI|ON..= 4;|
|00005fd0| 09 7b 20 6d 65 61 74 79 | 20 4d 54 45 20 72 65 70 |.{ meaty| MTE rep|
|00005fe0| 72 65 73 65 6e 74 69 6e | 67 20 61 20 66 75 6e 63 |resentin|g a func|
|00005ff0| 74 69 6f 6e 09 09 7d 0d | 09 4d 4f 44 55 4c 45 5f |tion..}.|.MODULE_|
|00006000| 4b 49 4e 44 5f 42 4c 4f | 43 4b 09 09 09 3d 20 36 |KIND_BLO|CK...= 6|
|00006010| 3b 09 7b 20 75 6e 6e 61 | 6d 65 64 20 73 63 6f 70 |;.{ unna|med scop|
|00006020| 65 09 09 09 09 09 09 09 | 09 7d 0d 0d 54 68 65 20 |e.......|.}..The |
|00006030| 72 6f 6f 74 20 4d 54 45 | 20 68 61 73 20 4d 4f 44 |root MTE| has MOD|
|00006040| 55 4c 45 5f 4b 49 4e 44 | 5f 50 52 4f 47 52 41 4d |ULE_KIND|_PROGRAM|
|00006050| 3b 20 63 6f 6d 70 69 6c | 61 74 69 6f 6e 20 75 6e |; compil|ation un|
|00006060| 69 74 73 20 68 61 76 65 | 20 4d 4f 44 55 4c 45 5f |its have| MODULE_|
|00006070| 4b 49 4e 44 5f 55 4e 49 | 54 2c 20 22 6d 65 61 74 |KIND_UNI|T, "meat|
|00006080| 79 22 20 4d 54 45 73 20 | 61 73 73 6f 63 69 61 74 |y" MTEs |associat|
|00006090| 65 64 20 77 69 74 68 20 | 63 6f 64 65 20 68 61 76 |ed with |code hav|
|000060a0| 65 20 4d 4f 44 55 4c 45 | 5f 4b 49 4e 44 5f 50 52 |e MODULE|_KIND_PR|
|000060b0| 4f 43 45 44 55 52 45 20 | 6f 72 20 4d 4f 44 55 4c |OCEDURE |or MODUL|
|000060c0| 45 5f 4b 49 4e 44 5f 46 | 55 4e 43 54 49 4f 4e 2c |E_KIND_F|UNCTION,|
|000060d0| 20 61 6e 64 20 61 6e 6f | 6e 79 6d 6f 75 73 20 62 | and ano|nymous b|
|000060e0| 6c 6f 63 6b 20 73 63 6f | 70 65 73 20 28 73 75 63 |lock sco|pes (suc|
|000060f0| 68 20 61 73 20 63 75 72 | 6c 79 2d 62 72 61 63 65 |h as cur|ly-brace|
|00006100| 20 73 63 6f 70 65 73 20 | 69 6e 20 43 29 20 68 61 | scopes |in C) ha|
|00006110| 76 65 20 4d 4f 44 55 4c | 45 5f 4b 49 4e 44 5f 42 |ve MODUL|E_KIND_B|
|00006120| 4c 4f 43 4b 2e 20 20 43 | 6f 64 65 20 6d 6f 64 75 |LOCK. C|ode modu|
|00006130| 6c 65 73 20 77 69 74 68 | 20 6e 6f 20 73 79 6d 62 |les with| no symb|
|00006140| 6f 6c 69 63 20 69 6e 66 | 6f 72 6d 61 74 69 6f 6e |olic inf|ormation|
|00006150| 20 68 61 76 65 20 4d 4f | 44 55 4c 45 5f 4b 49 4e | have MO|DULE_KIN|
|00006160| 44 5f 4e 4f 4e 45 2e 0d | 54 68 65 20 6d 74 65 5f |D_NONE..|The mte_|
|00006170| 73 63 6f 70 65 20 66 69 | 65 6c 64 20 63 6f 6e 74 |scope fi|eld cont|
|00006180| 61 69 6e 73 20 53 59 4d | 42 4f 4c 5f 53 43 4f 50 |ains SYM|BOL_SCOP|
|00006190| 45 5f 4c 4f 43 41 4c 20 | 6f 72 20 53 59 4d 42 4f |E_LOCAL |or SYMBO|
|000061a0| 4c 5f 53 43 4f 50 45 5f | 47 4c 4f 42 41 4c 2c 20 |L_SCOPE_|GLOBAL, |
|000061b0| 64 65 70 65 6e 64 69 6e | 67 20 6f 6e 20 74 68 65 |dependin|g on the|
|000061c0| 20 6d 6f 64 75 6c 65 27 | 73 20 76 69 73 69 62 69 | module'|s visibi|
|000061d0| 6c 69 74 79 2e 20 20 4d | 6f 64 75 6c 65 73 20 6f |lity. M|odules o|
|000061e0| 66 20 6b 69 6e 64 20 55 | 4e 49 54 20 61 72 65 20 |f kind U|NIT are |
|000061f0| 61 6c 77 61 79 73 20 53 | 59 4d 42 4f 4c 5f 53 43 |always S|YMBOL_SC|
|00006200| 4f 50 45 5f 47 4c 4f 42 | 41 4c 2c 20 61 6e 64 20 |OPE_GLOB|AL, and |
|00006210| 6d 6f 64 75 6c 65 73 20 | 6f 66 20 6b 69 6e 64 20 |modules |of kind |
|00006220| 42 4c 4f 43 4b 20 28 77 | 68 69 63 68 20 61 72 65 |BLOCK (w|hich are|
|00006230| 20 67 65 6e 65 72 61 74 | 65 64 20 66 72 6f 6d 20 | generat|ed from |
|00006240| 74 68 65 20 4f 4d 46 20 | 72 65 63 6f 72 64 73 20 |the OMF |records |
|00006250| 42 6c 6f 63 6b 42 65 67 | 69 6e 20 61 6e 64 20 42 |BlockBeg|in and B|
|00006260| 6c 6f 63 6b 45 6e 64 29 | 20 61 72 65 20 61 6c 77 |lockEnd)| are alw|
|00006270| 61 79 73 20 53 59 4d 42 | 4f 4c 5f 53 43 4f 50 45 |ays SYMB|OL_SCOPE|
|00006280| 5f 4c 4f 43 41 4c 2e 0d | 54 68 65 20 6c 69 6e 6b |_LOCAL..|The link|
|00006290| 65 72 20 70 75 74 73 20 | 70 72 6f 63 65 64 75 72 |er puts |procedur|
|000062a0| 65 20 6f 72 20 66 75 6e | 63 74 69 6f 6e 20 4d 54 |e or fun|ction MT|
|000062b0| 45 73 20 77 69 74 68 20 | 53 59 4d 42 4f 4c 5f 53 |Es with |SYMBOL_S|
|000062c0| 43 4f 50 45 5f 47 4c 4f | 42 41 4c 20 69 6e 74 6f |COPE_GLO|BAL into|
|000062d0| 20 74 77 6f 20 43 4d 54 | 45 20 6c 69 73 74 73 3b | two CMT|E lists;|
|000062e0| 20 6f 6e 63 65 20 69 6e | 20 74 68 65 69 72 20 70 | once in| their p|
|000062f0| 61 72 65 6e 74 20 28 6c | 65 78 69 63 61 6c 29 20 |arent (l|exical) |
|00006300| 73 63 6f 70 65 27 73 20 | 6c 69 73 74 20 28 73 6f |scope's |list (so|
|00006310| 20 74 68 65 20 63 6f 72 | 72 65 63 74 20 63 6f 6e | the cor|rect con|
|00006320| 74 61 69 6e 65 64 20 76 | 61 72 69 61 62 6c 65 73 |tained v|ariables|
|00006330| 2c 20 74 79 70 65 73 2c | 20 6c 61 62 65 6c 73 20 |, types,| labels |
|00006340| 61 6e 64 20 4d 54 45 73 | 20 61 72 65 20 61 63 63 |and MTEs| are acc|
|00006350| 65 73 73 61 62 6c 65 29 | 2c 20 61 6e 64 20 61 67 |essable)|, and ag|
|00006360| 61 69 6e 20 69 6e 20 74 | 68 65 20 72 6f 6f 74 20 |ain in t|he root |
|00006370| 4d 54 45 27 73 20 6c 69 | 73 74 20 28 73 6f 20 74 |MTE's li|st (so t|
|00006380| 68 61 74 20 73 65 61 72 | 63 68 69 6e 67 20 66 6f |hat sear|ching fo|
|00006390| 72 20 61 20 67 6c 6f 62 | 61 6c 20 70 72 6f 63 65 |r a glob|al proce|
|000063a0| 64 75 72 65 20 6f 72 20 | 66 75 6e 63 74 69 6f 6e |dure or |function|
|000063b0| 20 69 73 20 66 61 73 74 | 29 2e 0d 54 68 65 20 6d | is fast|)..The m|
|000063c0| 74 65 5f 70 61 72 65 6e | 74 20 66 69 65 6c 64 20 |te_paren|t field |
|000063d0| 73 70 65 63 69 66 69 65 | 73 20 74 68 65 20 4d 54 |specifie|s the MT|
|000063e0| 45 20 69 6e 64 65 78 20 | 6f 66 20 74 68 65 20 4d |E index |of the M|
|000063f0| 54 45 27 73 20 70 61 72 | 65 6e 74 20 6c 65 78 69 |TE's par|ent lexi|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.